[dm-devel] [PATCH 2/7] mm: introduce kvmalloc and kvmalloc_node

Andrew Morton akpm at linux-foundation.org
Tue Jul 14 21:24:04 UTC 2015


On Tue, 14 Jul 2015 14:13:16 -0700 (PDT) David Rientjes <rientjes at google.com> wrote:

> There's a misunderstanding in regards to the comment: __GFP_NORETRY 
> doesn't turn direct reclaim or compaction off, it is still attempted and 
> with the same priority as any other allocation.  This only stops the page 
> allocator from calling the oom killer, which will free memory or panic the 
> system, and looping when memory is available.

include/linux/gfp.h says

 * __GFP_NORETRY: The VM implementation must not retry indefinitely.

Can you suggest something more accurate and complete which we can put there?




More information about the dm-devel mailing list