Add percpu_rw_semaphore->recursive boolean. If it is true then the
recursive percpu_down_read() is safe, percpu_down_write() doesn't
exclude the new readers, like cpu_hotplug_begin().
Signed-off-by: Oleg Nesterov
---
include/linux/percpu-rwsem.h | 15 ++-
kernel/events/uprobes.c
Add percpu_rw_semaphore-recursive boolean. If it is true then the
recursive percpu_down_read() is safe, percpu_down_write() doesn't
exclude the new readers, like cpu_hotplug_begin().
Signed-off-by: Oleg Nesterov o...@redhat.com
---
include/linux/percpu-rwsem.h | 15 ++-
2 matches
Mail list logo