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


Groups > linux.kernel > #1330597

[PATCH v6 0/2] futex: lockless get_futex_key

From Davidlohr Bueso <dave@stgolabs.net>
Newsgroups linux.kernel
Subject [PATCH v6 0/2] futex: lockless get_futex_key
Date 2016-02-09 20:20 +0100
Message-ID <r0lZo-8lW-7@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


This is the continuation of the original patch, except with Ingo's
feedback about the ordering comments we have and how we reference
them throughout the code. Please consider for v4.6.

Thanks!

Changes from v5:
- Added patch 1 (Ingo).

Changes from v4:
- Integrated feedback from Hugh, specifically:
   * check for page->mapping change with page lock held when
     detecting shm race.
   * move inode assign, if the mapping still matches what
     we expect should we have a valid inode.
   * move iput out of rcu lock.

Changes from v3:
- Redo mapping sanity check, now do not halt the kernel.

Changes from v2:

- Minor adjustments by peterz.
- Applies on top of -next-20160118

Changes from v1:
- Remove unnecesary mb, as atomic_inc returning does what we need.
- Fix bogus mapping load.
- Minor code cleanups/comments.


Davidlohr Bueso (2):
  futex: Rename barrier references in ordering guarantees
  futex: Remove requirement for lock_page in get_futex_key

 kernel/futex.c | 131 ++++++++++++++++++++++++++++++++++++++++++++++-----------
 1 file changed, 107 insertions(+), 24 deletions(-)

-- 
2.1.4

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


Thread

[PATCH v6 0/2] futex: lockless get_futex_key Davidlohr Bueso <dave@stgolabs.net> - 2016-02-09 20:20 +0100
  [PATCH v6 1/2] futex: Rename barrier references in ordering guarantees Davidlohr Bueso <dave@stgolabs.net> - 2016-02-09 20:20 +0100
    [tip:locking/core] futex:   Rename barrier references in ordering guarantees tip-bot for Davidlohr Bueso <tipbot@zytor.com> - 2016-02-17 13:30 +0100

csiph-web