]> asedeno.scripts.mit.edu Git - linux.git/commit
mm: add kernel_mbind() helper; remove in-kernel call to syscall
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 17 Mar 2018 15:12:22 +0000 (16:12 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 2 Apr 2018 18:15:33 +0000 (20:15 +0200)
commite7dc9ad6e98eb8cc49b454d54e361f91aebc395f
treee16b3d0f4eba41a39a648c2b4cb2edf6d1253f78
parent7addf44388255f6fa99c83e3e2ad79cef0813698
mm: add kernel_mbind() helper; remove in-kernel call to syscall

Using the mm-internal kernel_mbind() helper allows us to get rid of the
mm-internal call to the sys_mbind() syscall.

This patch is part of a series which removes in-kernel calls to syscalls.
On this basis, the syscall entry path can be streamlined. For details, see
http://lkml.kernel.org/r/20180325162527.GA17492@light.dominikbrodowski.net

Cc: Al Viro <viro@zeniv.linux.org.uk>
Cc: linux-mm@kvack.org
Cc: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
mm/mempolicy.c