]> asedeno.scripts.mit.edu Git - linux.git/commit
userns: Make map_id_down a wrapper for map_id_range_down
authorEric W. Biederman <ebiederm@xmission.com>
Tue, 31 Oct 2017 21:53:09 +0000 (16:53 -0500)
committerEric W. Biederman <ebiederm@xmission.com>
Tue, 31 Oct 2017 22:23:13 +0000 (17:23 -0500)
commitece66133979b211324cc6aff9285889b425243d2
treec759c36d2efc544743c9e2f39c2441a42403c752
parentd5e7b3c5f51fc6d34e12b6d87bfd30ab277c4625
userns: Make map_id_down a wrapper for map_id_range_down

There is no good reason for this code duplication, the number of cache
line accesses not the number of instructions are the bottleneck in
this code.

Therefore simplify maintenance by removing unnecessary code.

Signed-off-by: "Eric W. Biederman" <ebiederm@xmission.com>
kernel/user_namespace.c