Re: [PATCH 04/12] bpf: use __anon_inode_getfd

2020-05-09 Thread Andrii Nakryiko
On Fri, May 8, 2020 at 8:39 AM Christoph Hellwig wrote: > > Use __anon_inode_getfd instead of opencoding the logic using > get_unused_fd_flags + anon_inode_getfile. Also switch the > bpf_link_new_file calling conventions to match __anon_inode_getfd. > > Signed-off-by: Christoph Hellwig > --- >

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

2020-04-10 Thread Andrii Nakryiko
cc Johannes who suggested this API call originally On Wed, Apr 8, 2020 at 5:03 AM Christoph Hellwig wrote: > > 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