Re: kmemleak splat on copy_process()
From: Andy Lutomirski
Date: Fri Feb 17 2017 - 14:33:06 EST
On Fri, Feb 17, 2017 at 9:23 AM, Luis R. Rodriguez <mcgrof@xxxxxxxxxx> wrote:
> On Fri, Feb 17, 2017 at 9:07 AM, Andy Lutomirski <luto@xxxxxxxxxxxxxx> wrote:
>> But maybe
>> there really is a race in which a kmemleak check right in the middle
>> of duplicating the task struct really can't see the stack pointer.
> Funny, but it was actually using kmemleak how I can easily reproduce:
> To reproduce the kmemleak splat:
> echo clear > /sys/kernel/debug/kmemleak
> echo scan > /sys/kernel/debug/kmemleak
> cat /sys/kernel/debug/kmemleak
Worked fine for me. Maybe your config is special?