On Mon 27-02-17 09:01:09, Tahsin Erdogan wrote: > On Mon, Feb 27, 2017 at 7:25 AM, Michal Hocko <mho...@kernel.org> wrote: > > /* > > * No space left. Create a new chunk. We don't want multiple > > * tasks to create chunks simultaneously. Serialize and create iff > > * there's still no empty chunk after grabbing the mutex. > > */ > > if (is_atomic) > > goto fail; > > > > right before pcpu_populate_chunk so is this actually a problem? > > Yes, this prevents adding more pcpu chunks and so cause "atomic" allocations > to fail more easily.
Then I fail to see what is the problem you are trying to fix. -- Michal Hocko SUSE Labs