]> git.baikalelectronics.ru Git - kernel.git/commit
include/linux/sched/mm.h: re-inline mmdrop()
authorAndrew Morton <akpm@linux-foundation.org>
Wed, 21 Feb 2018 22:45:17 +0000 (14:45 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 21 Feb 2018 23:35:42 +0000 (15:35 -0800)
commitcbf56c6881cc2db1a348565db3bd24475099e3df
tree4004ff5aceb19f3bbfb5c395e9a5df0f13a7f376
parent2360a1220a8fc719db0e7221d1681c1be5218b8e
include/linux/sched/mm.h: re-inline mmdrop()

As Peter points out, Doing a CALL+RET for just the decrement is a bit silly.

Fixes: 1536f4900e33aa8 ("include/linux/sched/mm.h: uninline mmdrop_async(), etc")
Acked-by: Peter Zijlstra (Intel) <peterz@infraded.org>
Cc: Ingo Molnar <mingo@kernel.org>
Cc: Michal Hocko <mhocko@suse.com>
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