Re: [PATCH v4 3.0-rc2-tip 7/22] 7: uprobes: mmap and fork hooks.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2011-07-18 at 14:50 +0530, Srikar Dronamraju wrote:
>  *  - Introduce uprobes_list and uprobes_vaddr in vm_area_struct.
>  *    uprobes_list is a node in the temp list of vmas while
>  *    registering/unregistering uprobes. uprobes_vaddr caches the vaddr to
>  *    insert/remove the breakpoint.
>  *
>  *  - Introduce srcu to synchronize vma deletion with walking the list of
>  *    vma in register/unregister_uprobe.

I don't think you can sell this, that'll make munmap() horridly slow.

>  *  - Introduce uprobes_mmap_mutex to synchronize uprobe deletion and
>  *    mmap_uprobe(). 

Yes, that'll work I think.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@xxxxxxxxx.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Fight unfair telecom internet charges in Canada: sign http://stopthemeter.ca/
Don't email: <a href


[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]