]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/sched/mm.h: uninline mmdrop_async(), etc
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 1 Feb 2018 00:15:51 +0000 (16:15 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Feb 2018 01:18:36 +0000 (17:18 -0800)
commit1536f4900e33aa87b4c5906f39458e9e088c6d5e
tree2a141e9cb61e3fe0c7661254e1bd26afb6961a1d
parent89c8ed2691fe8dd6156e91a2405d106102ad2793
include/linux/sched/mm.h: uninline mmdrop_async(), etc

mmdrop_async() is only used in fork.c.  Move that and its support
functions into fork.c, uninline it all.

Quite a lot of code gets moved around to avoid forward declarations.

Cc: Ingo Molnar <mingo@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Cc: Oleg Nesterov <oleg@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
include/linux/sched/mm.h
kernel/fork.c