From: Oleg Nesterov Date: Sun, 13 Oct 2013 19:18:38 +0000 (+0200) Subject: uprobes: Teach __create_xol_area() to accept the predefined vaddr X-Git-Tag: omap-for-v3.13/fixes-for-merge-window-take2~41^2~17^2~3 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af0d95af79773f7637107cd3871aaabcb425f15a;p=pandora-kernel.git uprobes: Teach __create_xol_area() to accept the predefined vaddr Currently xol_add_vma() uses get_unmapped_area() for area->vaddr, but the next patches need to use the fixed address. So this patch adds the new "vaddr" argument to __create_xol_area() which should be used as area->vaddr if it is nonzero. xol_add_vma() doesn't bother to verify that the predefined addr is not used, insert_vm_struct() should fail if find_vma_links() detects the overlap with the existing vma. Also, __create_xol_area() doesn't need __GFP_ZERO to allocate area. Signed-off-by: Oleg Nesterov Acked-by: Srikar Dronamraju --- Reading git-diff-tree failed