[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-ID: <150670038738.23930.7190484711222807884.stgit@localhost.localdomain>
Date: Fri, 29 Sep 2017 19:05:45 +0300
From: Kirill Tkhai <ktkhai@...tuozzo.com>
To: linux-ia64@...r.kernel.org, avagin@...tuozzo.com,
peterz@...radead.org, heiko.carstens@...ibm.com, hpa@...or.com,
gorcunov@...tuozzo.com, linux-arch@...r.kernel.org,
linux-s390@...r.kernel.org, x86@...nel.org, mingo@...hat.com,
mattst88@...il.com, fenghua.yu@...el.com, arnd@...db.de,
ktkhai@...tuozzo.com, ink@...assic.park.msu.ru, tglx@...utronix.de,
rth@...ddle.net, tony.luck@...el.com, linux-kernel@...r.kernel.org,
linux-alpha@...r.kernel.org, schwidefsky@...ibm.com,
davem@...emloft.net, rientjes@...gle.com, viro@...iv.linux.org.uk
Subject: [PATCH REBASED 0/6] rwsem: Implement down_read_killable()
Hi,
this is resending of the series, I previously sent. There are no changes
in separate patches except of [4/6], which is rebased on recent tip.git.
Two patches from the previous sending are already applied by Peter,
so they are not in this series. They are:
83ced169d9a0 "locking/rwsem-xadd: Add killable versions of rwsem_down_read_failed()" and
0aa1125fa8bc "locking/rwsem-spinlock: Add killable versions of __down_read()"
Also, there is one patch more [6/6], which was sent separate in
the reply to the first series.
So, there is no changes (except [4/6]). Please, take a look.
---
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(-)
--
Signed-off-by: Kirill Tkhai <ktkhai@...tuozzo.com>
Powered by blists - more mailing lists