Thread (3 messages) flat view 3 messages, 3 authors, 2019-09-15

Re: [PATCH v3] powerpc/lockdep: fix a false positive warning

From: Michael Ellerman <mpe@ellerman.id.au>
Date: 2019-09-10 14:14:34
Also in: linux-arch, lkml

Hi Qian,

Sorry I haven't replied sooner, I've been travelling.

Qian Cai [off-list ref] writes:
The commit 108c14858b9e ("locking/lockdep: Add support for dynamic
keys") introduced a boot warning on powerpc below, because since the
commit 2d4f567103ff ("KVM: PPC: Introduce kvm_tmp framework") adds
kvm_tmp[] into the .bss section and then free the rest of unused spaces
back to the page allocator.
Thanks for debugging this, but I'd like to fix it differently.

kvm_tmp has caused trouble before, with kmemleak, and it can also cause
trouble with STRICT_KERNEL_RWX, so I'd like to change how it's done,
rather than doing more hacks for it.

It should just be a page in text that we use if needed, and don't free,
which should avoid all these problems.

I'll try and get that done and posted soon.

cheers
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help