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


Groups > linux.kernel > #1284366

[PATCH tip/core/rcu 0/4] linked-list updates for 4.5

From "Paul E. McKenney" <paulmck@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject [PATCH tip/core/rcu 0/4] linked-list updates for 4.5
Date 2015-12-05 01:20 +0100
Message-ID <qC8JY-1nw-9@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


Hello!

This series contains a few linked-list updates:

1.	Use WRITE_ONCE() when adding to lists and hlists (reported
	by KTSAN).

2.	Use READ_ONCE() when testing for empty lists (reported by
	KTSAN).

3.	Introduce generic list_splice_tail_init_rcu(), courtesy of
	Petko Manolov.

4.	Use WRITE_ONCE() when initializing list_head structures (reported
	by KTSAN).

							Thanx, Paul

------------------------------------------------------------------------

 b/include/linux/list.h       |   14 ++++----
 b/include/linux/list_bl.h    |    2 -
 b/include/linux/list_nulls.h |    2 -
 b/include/linux/rculist.h    |   69 ++++++++++++++++++++++++++++++-------------
 b/lib/list_debug.c           |    2 -
 5 files changed, 59 insertions(+), 30 deletions(-)

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

[PATCH tip/core/rcu 0/4] linked-list updates for 4.5 "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-05 01:20 +0100
  [PATCH tip/core/rcu 4/4] list: Use WRITE_ONCE() when initializing list_head structures "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-05 01:20 +0100
  [PATCH tip/core/rcu 1/4] list: Use WRITE_ONCE() when adding to lists and hlists "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-05 01:20 +0100
  [PATCH tip/core/rcu 3/4] list: Introduces generic list_splice_tail_init_rcu() "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-05 01:20 +0100
  [PATCH tip/core/rcu 2/4] list: Use READ_ONCE() when testing for empty lists "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2015-12-05 01:20 +0100

csiph-web