Re: [PATCH 25/28] mm: remove vmalloc_user_node_flags

From
Johannes Weiner <hannes@cmpxchg.org>
Date
2020-04-13 20:03:14
Also in
bpf, dri-devel, linux-arch, linux-arm-kernel, linux-hyperv, linux-iommu, linux-mm, linux-s390, lkml
Reply to
Andrii Nakryiko, 2020-04-09
On Thu, Apr 09, 2020 at 03:25:03PM -0700, Andrii Nakryiko wrote:
cc Johannes who suggested this API call originally
I forgot why we did it this way - probably just cruft begetting more
cruft. Either way, Christoph's cleanup makes this look a lot better.
On Wed, Apr 8, 2020 at 5:03 AM Christoph Hellwig [off-list ref] wrote:
quoted
Open code it in __bpf_map_area_alloc, which is the only caller.  Also
clean up __bpf_map_area_alloc to have a single vmalloc call with
slightly different flags instead of the current two different calls.

For this to compile for the nommu case add a __vmalloc_node_range stub
to nommu.c.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Acked-by: Johannes Weiner <hannes@cmpxchg.org>
Thread (71 messages) 71 messages, 20 authors, last reply 2020-04-16
Keyboard shortcuts
hback out one level
jnext message in thread / next series-diff position
kprevious message in thread / previous series-diff position
ldrill in
Escclose help / fold thread tree
?toggle this help