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)
committerAlex Shi <alex.shi@linaro.org>
Sat, 1 Apr 2017 03:07:02 +0000 (11:07 +0800)
commitb041dac75629fd37b9cbf9993234b0fd8c77c638
tree52e2b869f1b7df504874496c4574fce69549ddb9
parent351068f5efa8ae188bb1250eae0aa74060d493c8
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>
(cherry picked from commit f5beeb1851ea6f8cfcf2657f26cb24c0582b4945)
Signed-off-by: Alex Shi <alex.shi@linaro.org>
fs/proc/kcore.c