Re: [PATCH 1/4] uprobes: introduce vaddr_to_offset(vma, vaddr)

From: Srikar Dronamraju
Date: Thu Jul 26 2012 - 00:58:52 EST


* Oleg Nesterov <oleg@xxxxxxxxxx> [2012-07-12 19:10:17]:

> Add the new helper, vaddr_to_offset(vma, vaddr) which returns the
> offset in vma->vm_file this vaddr is mapped at.
>
> Change build_probe_list() and find_active_uprobe() to use the new
> helper, the next patch adds another user.
>
> Signed-off-by: Oleg Nesterov <oleg@xxxxxxxxxx>

Acked-by: Srikar Dronamraju <srikar@xxxxxxxxxxxxxxxxxx>

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/