Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1669906

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

From David Rientjes <rientjes@google.com>
Newsgroups linux.kernel
Subject Re: [PATCH 0/7] rwsem: Implement down_read_killable()
Date 2017-06-19 22:30 +0200
Message-ID <tUbt7-7sP-1@gated-at.bofh.it> (permalink)
References <tUbt7-7sP-3@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


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 for
> the architectures, that use rwsem-xadd implementation.
> The assembly code was modified in x86 case only, the rest
> of architectures does not need such change.
> 
> I tested the series in x86 (which uses RWSEM_XCHGADD_ALGORITHM
> config option), and also the RWSEM_GENERIC_SPINLOCK case,
> which were manually written in Kconfig. alpha, ia64 and s390
> are compile-tested only, but I believe, their changes are
> pretty easy. Please, people, who work with them, take your
> look at the corresponding patches.
> 

I would have expected to see down_read_killable() actually used somewhere 
after its implementation as part of this patchset.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH 0/7] rwsem: Implement down_read_killable() David Rientjes <rientjes@google.com> - 2017-06-19 22:30 +0200
  Re: [PATCH 0/7] rwsem: Implement down_read_killable() David Howells <dhowells@redhat.com> - 2017-06-20 10:40 +0200

csiph-web