]> Git Repo - linux.git/commit
bpf: Use vmalloc special flag
authorRick Edgecombe <[email protected]>
Fri, 26 Apr 2019 00:11:38 +0000 (17:11 -0700)
committerIngo Molnar <[email protected]>
Tue, 30 Apr 2019 10:37:59 +0000 (12:37 +0200)
commitd53d2f78ceadba081fc7785570798c3c8d50a718
tree9774dc3b295900b2113371a19be65d2fe7085c23
parent1a7b7d9220819afe79d1ec5d759fe4349bd2453e
bpf: Use vmalloc special flag

Use new flag VM_FLUSH_RESET_PERMS for handling freeing of special
permissioned memory in vmalloc and remove places where memory was set RW
before freeing which is no longer needed. Don't track if the memory is RO
anymore because it is now tracked in vmalloc.

Signed-off-by: Rick Edgecombe <[email protected]>
Signed-off-by: Peter Zijlstra (Intel) <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: <[email protected]>
Cc: Alexei Starovoitov <[email protected]>
Cc: Andy Lutomirski <[email protected]>
Cc: Borislav Petkov <[email protected]>
Cc: Daniel Borkmann <[email protected]>
Cc: Dave Hansen <[email protected]>
Cc: H. Peter Anvin <[email protected]>
Cc: Linus Torvalds <[email protected]>
Cc: Nadav Amit <[email protected]>
Cc: Rik van Riel <[email protected]>
Cc: Thomas Gleixner <[email protected]>
Link: https://lkml.kernel.org/r/[email protected]
Signed-off-by: Ingo Molnar <[email protected]>
include/linux/filter.h
kernel/bpf/core.c
This page took 0.047433 seconds and 4 git commands to generate.