Messages in this thread | | | Subject | Re: [PATCH v2] mm/slub: fix panic in slab_alloc_node() | From | Laurent Dufour <> | Date | Wed, 28 Oct 2020 14:49:45 +0100 |
| |
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 required too. > > > Ok then lets revert commit 6159d0f5c03e? The situation may occur > elsewhere too.
The only other call to node_match() is in ___slab_alloc(), and the page pointer is already checked there. So there is no real need to check it in node_match().
| |