On Fri, Sep 29, 2017 at 07:05:45PM +0300, Kirill Tkhai wrote: > The series introduces new down_read_killable() primitive, which > is similar to down_read(), but it may be interrupted by a signal. > The most touched is architectures code. Also, it marks a new user > of the primitive, which is iterate_dir(). > > --- > > Kirill Tkhai (6): > alpha: Add __down_read_killable() > ia64: Add __down_read_killable() > s390: Add __down_read_killable() > x86: Add __down_read_killable() > rwsem: Add down_read_killable() > fs: Use killable down_read() in iterate_dir() > > > arch/alpha/include/asm/rwsem.h | 18 ++++++++++++++++-- > arch/ia64/include/asm/rwsem.h | 22 +++++++++++++++++++--- > arch/s390/include/asm/rwsem.h | 18 ++++++++++++++++-- > arch/x86/include/asm/rwsem.h | 35 +++++++++++++++++++++++++---------- > arch/x86/lib/rwsem.S | 12 ++++++++++++ > fs/readdir.c | 11 +++++------ > include/asm-generic/rwsem.h | 8 ++++++++ > include/linux/rwsem.h | 1 + > kernel/locking/rwsem.c | 16 ++++++++++++++++ > 9 files changed, 118 insertions(+), 23 deletions(-) thanks!