lkml.org 
[lkml]   [2020]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Subject0087-rcu-Use-a-raw_spinlock_t-for-kfree-batching.patch
From
Date
Hi Sebastian,

Just a heads up wrt $subject...

I had done the same in my 5.6 tree, but then 5.7 came along, and I had
to revisit due to 34c881745549e adding an allocation under that lock
with irqs disabled. The same commit that added the lock added this.

local_irq_save(flags); // For safely calling this_cpu_ptr().

Whacking that instead of converting the lock cures 5.6 and 5.7 woes.

-Mike

\
 
 \ /
  Last update: 2020-04-05 06:55    [W:0.074 / U:0.160 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site