On 03.07.20 08:34, Pekka Enberg wrote: > > if (cpusets_enabled()) { > > *alloc_mask |= __GFP_HARDWALL; > > if (!in_interrupt() && !ac->nodemask) > > ac->nodemask = &cpuset_current_mems_allowed; > > else > > *alloc_flags |= ALLOC_CPUSET; > > } On Fri, Jul 3, 2020 at 10:20 AM David Hildenbrand <david@xxxxxxxxxx> wrote: > ^ looks much cleaner as well. Do we want to add a summarizing comment? I see no harm in adding one. I'm sure the next person starting a journey in the maze some call the page allocator will appreciate it. - Pekka