fs/proc/kcore.c: Make bounce buffer global for read
authorJiri Olsa <jolsa@kernel.org>
Thu, 8 Sep 2016 07:57:07 +0000 (09:57 +0200)
committerLinus Torvalds <torvalds@linux-foundation.org>
Tue, 20 Sep 2016 20:32:49 +0000 (13:32 -0700)
commitf5beeb1851ea6f8cfcf2657f26cb24c0582b4945
treef619d5d6686ec8e43fe5f234c52f551f1febacad
parentd2ffb0103aaefa9b169da042cf39ce27bfb6cdbb
fs/proc/kcore.c: Make bounce buffer global for read

Next patch adds bounce buffer for ktext area, so it's
convenient to have single bounce buffer for both
vmalloc/module and ktext cases.

Suggested-by: Linus Torvalds <torvalds@linux-foundation.org>
Signed-off-by: Jiri Olsa <jolsa@kernel.org>
Acked-by: Kees Cook <keescook@chromium.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
fs/proc/kcore.c