Home
last modified time | relevance | path

Searched hist:"27 f28b972e12a4080e5f5e4eb36b8224705652d4" (Results 1 – 1 of 1) sorted by relevance

/linux/mm/
H A Dmmap.cdiff 27f28b972e12a4080e5f5e4eb36b8224705652d4 Fri Nov 06 03:48:41 CET 2015 Chen Gang <gang.chen.5i5j@gmail.com> mm/mmap.c: change __install_special_mapping() args order

Make __install_special_mapping() args order match the caller, so the
caller can pass their register args directly to callee with no touch.

For most of architectures, args (at least the first 5th args) are in
registers, so this change will have effect on most of architectures.

For -O2, __install_special_mapping() may be inlined under most of
architectures, but for -Os, it should not. So this change can get a
little better performance for -Os, at least.

Signed-off-by: Chen Gang <gang.chen.5i5j@gmail.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>