Re: [PATCH 1/4] uprobes: Introduce uprobe->register_rwsem

2012-12-13 Thread Srikar Dronamraju
* Oleg Nesterov [2012-11-24 19:02:28]: > Introduce uprobe->register_rwsem. It is taken for writing around > __uprobe_register/unregister. > > Change handler_chain() to use this sem rather than consumer_rwsem. > > The main reason for this change is that we have the nasty problem > with mmap_sem/

[PATCH 1/4] uprobes: Introduce uprobe->register_rwsem

2012-11-24 Thread Oleg Nesterov
Introduce uprobe->register_rwsem. It is taken for writing around __uprobe_register/unregister. Change handler_chain() to use this sem rather than consumer_rwsem. The main reason for this change is that we have the nasty problem with mmap_sem/consumer_rwsem dependency. filter_chain() needs to prot