Messages in this thread | | | Date | Tue, 25 May 2021 16:16:55 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH 2/2] mm: slub: use DEFINE_RAW_SPINLOCK init object_map_lock |
| |
On Tue, 25 May 2021 12:46:35 +0200 Vlastimil Babka <vbabka@suse.cz> wrote:
> On 5/25/21 12:23 PM, Yejune Deng wrote: > > Use DEFINE_RAW_SPINLOCK instead of DEFINE_SPINLOCK object_map_lock > > that won't be preempted on mainline and PREEMPT_RT kernels. > > > > Signed-off-by: Yejune Deng <yejunedeng@gmail.com> > > RT tree also has such patch, with IMHO more thorough description:
Yes please, a more thorough decription is needed. The description provided with this patch could be applied to every spinlock in the kernel!
| |