[Top][All Lists]

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

[Qemu-ppc] [PATCH 0/3] convert CPU list to RCU

From: Emilio G. Cota
Subject: [Qemu-ppc] [PATCH 0/3] convert CPU list to RCU
Date: Mon, 13 Aug 2018 12:38:56 -0400

We iterate over the CPU list quite frequently (e.g. with CPU_FOREACH),
but we rarely acquire the cpu_list_lock to do so. This is incorrect,
since the CPU list can be updated (new CPUs added to it) pretty
much anytime, particularly in user-mode.

Instead of grabbing cpu_list_lock everywhere, convert the list to RCU
to that iterations can be safe and wait-free.



reply via email to

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