qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PULL for-7.1 00/36] Logging cleanup and per-thread logfiles


From: Richard Henderson
Subject: Re: [PULL for-7.1 00/36] Logging cleanup and per-thread logfiles
Date: Sun, 20 Mar 2022 10:14:18 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.5.0

On 3/20/22 10:10, Richard Henderson wrote:
Most of the changes here reduce the amount of locking involved
in logging, due to repeated qemu_log calls, each of which takes
and releases the rcu_read_lock.

This makes more use of qemu_log_lock/unlock around code blocks,
which both keeps the output together in the face of threads and
also plays the rcu_read_lock game only once for the block.

Finally, add a -d tid option to open per-thread logfiles.
This can be extremely helpful in debugging user-only threads.

Gah.  I didn't mean to write 'PULL' here, just PATCH.


r~



reply via email to

[Prev in Thread] Current Thread [Next in Thread]