[PATCH 0/3] percpu-rwsem: introduce percpu_rw_semaphore->recursive mode

2015-06-28 Thread Oleg Nesterov
On 06/24, Oleg Nesterov wrote: > > So we need percpu_down_write_dont_block_readers(). I already thought > about this before, I'll try to make the patch tomorrow on top of your > changes. Never say tomorrow... > This means that we do not need task_struct->cpuhp_ref, but we can't > avoid livelock

[PATCH 0/3] percpu-rwsem: introduce percpu_rw_semaphore-recursive mode

2015-06-28 Thread Oleg Nesterov
On 06/24, Oleg Nesterov wrote: So we need percpu_down_write_dont_block_readers(). I already thought about this before, I'll try to make the patch tomorrow on top of your changes. Never say tomorrow... This means that we do not need task_struct-cpuhp_ref, but we can't avoid livelock we