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)
commitd70f2a14b72a4bc094cf3a92e4794644a7adc590
tree2a141e9cb61e3fe0c7661254e1bd26afb6961a1d
parent0d2d5d40deb49314b6f701589e1cae3bca3aa94c
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