On 10/09/23 15:56, Usama Arif wrote: > Calling prep_and_add_allocated_folios when allocating gigantic pages > at boot time causes the kernel to crash as folio_list is empty > and iterating it causes a NULL pointer dereference. Call this only > for non-gigantic pages when folio_list has entires. > > Fixes: bfb41d6b2fe148 ("hugetlb: restructure pool allocations") > Signed-off-by: Usama Arif <usama.arif@xxxxxxxxxxxxx> > --- > mm/hugetlb.c | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) Hi Andrew, Can you remove this from mm-unstable. The root cause of Usama's crash was improper irq enablement via locking calls. The changes Usama verified (later in this thread) are in v8 of the "Batch hugetlb vmemmap modification operations" series I just sent. -- Mike Kravetz