]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Pass vma argument to copy_user_highpage().
authorAtsushi Nemoto <anemo@mba.ocn.ne.jp>
Tue, 12 Dec 2006 17:14:55 +0000 (17:14 +0000)
committerLinus Torvalds <torvalds@woody.osdl.org>
Wed, 13 Dec 2006 17:27:08 +0000 (09:27 -0800)
commit443f1d4f3d26c3c9edb11c1d46a70f74b2a25228
tree6eb3643514d12d06a69a5c889d612f66b68288e6
parent2e7d518b71c148ccd4de03abd4837850b67ba487
[PATCH] Pass vma argument to copy_user_highpage().

To allow a more effective copy_user_highpage() on certain architectures,
a vma argument is added to the function and cow_user_page() allowing
the implementation of these functions to check for the VM_EXEC bit.

The main part of this patch was originally written by Ralf Baechle;
Atushi Nemoto did the the debugging.

Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
include/linux/highmem.h
mm/hugetlb.c
mm/memory.c