]> git.baikalelectronics.ru Git - kernel.git/commit
uprobes: Move alloc_page() from xol_add_vma() to xol_alloc_area()
authorOleg Nesterov <oleg@redhat.com>
Sun, 30 Dec 2012 16:40:39 +0000 (17:40 +0100)
committerOleg Nesterov <oleg@redhat.com>
Fri, 8 Feb 2013 16:47:11 +0000 (17:47 +0100)
commitfc446acfe3af3b4a9ba3f1d018205ecc56c2bff6
tree8f6ad569a44b3fb9179442fd6b9d07d42ec28229
parentc359a14c03f4a68fd8c65f8112b029ceceb19670
uprobes: Move alloc_page() from xol_add_vma() to xol_alloc_area()

Move alloc_page() from xol_add_vma() to xol_alloc_area() to cleanup
the code. This separates the memory allocations and consolidates the
-EALREADY cleanups and the error handling.

Signed-off-by: Oleg Nesterov <oleg@redhat.com>
Acked-by: Anton Arapov <anton@redhat.com>
Acked-by: Srikar Dronamraju <srikar@linux.vnet.ibm.com>
kernel/events/uprobes.c