]> 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)
commit1743f91305b2196cdfb96ab79d7d49fb8d2f3b93
tree8f6ad569a44b3fb9179442fd6b9d07d42ec28229
parenta6006d8ad245fc21b0f01610b7e8019a3261269b
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