On Tue, 2011-07-19 at 12:23 +0530, Srikar Dronamraju wrote: > > I don't think you can sell this, that'll make munmap() horridly slow. > > Okay, > > How about using a counter and a wq in each vma. > Based on the counter, I can wait in the munmap() and since this is per > vma, this should be faster than srcu. > > Counter would be incremented when we do a vma-rmap walk. > decremented when after insertion/deletion. > read in munmap(). I know I would feel somewhat uneasy about growing struct vm_area_struct for just uprobes, but what do other people think? Andrew, Christoph? -- 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