Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1669906 > unrolled thread
| Started by | David Rientjes <rientjes@google.com> |
|---|---|
| First post | 2017-06-19 22:30 +0200 |
| Last post | 2017-06-20 10:40 +0200 |
| Articles | 2 — 2 participants |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
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
| From | David Rientjes <rientjes@google.com> |
|---|---|
| Date | 2017-06-19 22:30 +0200 |
| Subject | Re: [PATCH 0/7] rwsem: Implement down_read_killable() |
| Message-ID | <tUbt7-7sP-1@gated-at.bofh.it> |
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.
[toc] | [next] | [standalone]
| From | David Howells <dhowells@redhat.com> |
|---|---|
| Date | 2017-06-20 10:40 +0200 |
| Message-ID | <tUmRA-6dE-15@gated-at.bofh.it> |
| In reply to | #1669906 |
David Rientjes <rientjes@google.com> 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().
David
[toc] | [prev] | [standalone]
Back to top | Article view | linux.kernel
csiph-web