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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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().



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux