]> 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)
commit932233a6114fab682c5913bd181b1c44d08244e4
tree2a141e9cb61e3fe0c7661254e1bd26afb6961a1d
parentea1a2561fb16f2e75bd19d4e55452f4ee1a6404e
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