Re: [PATCH 0/7] rwsem: Implement down_read_killable()

2017-06-20 Thread Kirill Tkhai
On Tue, Jun 20, 2017 at 09:30, David Howells wrote: > David Rientjes wrote: > > > I would have expected to see down_read_killable() actually used somewhere > > after its implementation as part of this patchset. > > There are some places we should be using down_{read|write}_interruptible(), if >

Re: [PATCH 0/7] rwsem: Implement down_read_killable()

2017-06-20 Thread David Howells
David Rientjes wrote: > I would have expected to see down_read_killable() actually used somewhere > after its implementation as part of this patchset. There are some places we should be using down_{read|write}_interruptible(), if it existed, dressed as inode_lock{,_shared}_interruptible(). Dav

Re: [PATCH 0/7] rwsem: Implement down_read_killable()

2017-06-19 Thread David Rientjes
On Mon, 19 Jun 2017, Kirill Tkhai wrote: > This series implements killable version of down_read() > similar to already existing down_write_killable() function. > Patches [1-2/7] add arch-independent low-level primitives > for the both rwsem types. > > Patches [3-6/7] add arch-dependent primitives

[PATCH 0/7] rwsem: Implement down_read_killable()

2017-06-19 Thread Kirill Tkhai
This series implements killable version of down_read() similar to already existing down_write_killable() function. Patches [1-2/7] add arch-independent low-level primitives for the both rwsem types. Patches [3-6/7] add arch-dependent primitives for the architectures, that use rwsem-xadd implementa