Re: [PATCH v2 2/2] mm: Create non-atomic version of SetPageReserved for init use

2018-09-05 Thread Michal Hocko
On Wed 05-09-18 14:13:34, Alexander Duyck wrote: [...] just a nit > @@ -1231,7 +1231,8 @@ void __meminit reserve_bootmem_region(phys_addr_t > start, phys_addr_t end) > /* Avoid false-positive PageTail() */ > INIT_LIST_HEAD(&page->lru); > > -

[PATCH v2 2/2] mm: Create non-atomic version of SetPageReserved for init use

2018-09-05 Thread Alexander Duyck
From: Alexander Duyck It doesn't make much sense to use the atomic SetPageReserved at init time when we are using memset to clear the memory and manipulating the page flags via simple "&=" and "|=" operations in __init_single_page. This patch adds a non-atomic version __SetPageReserved that can