Thread (25 messages) flat view 25 messages, 6 authors, 2017-01-30

Re: [PATCH 0/6 v3] kvmalloc

From: Joe Perches <joe@perches.com>
Date: 2017-01-26 12:14:43
Also in: linux-mm, lkml

On Thu, 2017-01-26 at 11:32 +0100, Michal Hocko wrote:
So I have folded the following to the patch 1. It is in line with
kvmalloc and hopefully at least tell more than the current code.
[]
quoted hunk ↗ jump to hunk
diff --git a/mm/vmalloc.c b/mm/vmalloc.c
[]
quoted hunk ↗ jump to hunk
@@ -1741,6 +1741,13 @@ void *__vmalloc_node_range(unsigned long size, unsigned long align,
  *	Allocate enough pages to cover @size from the page level
  *	allocator with @gfp_mask flags.  Map them into contiguous
  *	kernel virtual space, using a pagetable protection of @prot.
+ *
+ *	Reclaim modifiers in @gfp_mask - __GFP_NORETRY, __GFP_REPEAT
+ *	and __GFP_NOFAIL are not supported
Maybe add a BUILD_BUG or a WARN_ON_ONCE to catch new occurrences?
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help