Re: [PATCH v2] mm/slub: fix panic in slab_alloc_node()

2020-10-28 Thread Laurent Dufour
Le 28/10/2020 à 12:11, Christopher Lameter a écrit : On Tue, 27 Oct 2020, Laurent Dufour wrote: The issue is that object is not NULL while page is NULL which is odd but may happen if the cache flush happened after loading object but before loading page. Thus checking for the page pointer is

Re: [PATCH v2] mm/slub: fix panic in slab_alloc_node()

2020-10-28 Thread Christopher Lameter
On Tue, 27 Oct 2020, Laurent Dufour wrote: > The issue is that object is not NULL while page is NULL which is odd but > may happen if the cache flush happened after loading object but before > loading page. Thus checking for the page pointer is required too. Ok then lets revert commit

[PATCH v2] mm/slub: fix panic in slab_alloc_node()

2020-10-27 Thread Laurent Dufour
While doing memory hot-unplug operation on a PowerPC VM running 1024 CPUs with 11TB of ram, I hit the following panic: BUG: Kernel NULL pointer dereference on read at 0x0007 Faulting instruction address: 0xc0456048 Oops: Kernel access of bad area, sig: 11 [#2] LE PAGE_SIZE=64K