lkml.org 
[lkml]   [2020]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH] timer: silenct a lockdep splat with debugobjects
From
Date


> On Mar 13, 2020, at 5:26 PM, Peter Zijlstra <peterz@infradead.org> wrote:
>
> On Fri, Mar 13, 2020 at 05:00:41PM -0400, Qian Cai wrote:
>>> On Mar 13, 2020, at 4:13 PM, Peter Zijlstra <peterz@infradead.org> wrote:
>
>>>
>>> Or, fix that random crud to do the wakeup outside of the lock.
>>
>> That is likely to be difficult until we can find a creative way to not “uglifying" the
>> random code by dropping locks in the middle etc just because of debugojects.
>
> https://git.kernel.org/pub/scm/linux/kernel/git/luto/linux.git/log/?h=random/fast
>
> Doesn't look difficult at all.

Great. I cherry-picked the first two patches,

random: Consolidate entropy batches for u32 and u64
random: Remove batched entropy locking

which solved the issue here as well.

Andy, may I ask what your plan to post those?
\
 
 \ /
  Last update: 2020-03-14 03:54    [W:0.065 / U:9.936 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site