From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755155AbbLEAOZ (ORCPT ); Fri, 4 Dec 2015 19:14:25 -0500 Received: from e34.co.us.ibm.com ([32.97.110.152]:54848 "EHLO e34.co.us.ibm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752661AbbLEAOY (ORCPT ); Fri, 4 Dec 2015 19:14:24 -0500 X-IBM-Helo: d03dlp01.boulder.ibm.com X-IBM-MailFrom: paulmck@linux.vnet.ibm.com X-IBM-RcptTo: linux-kernel@vger.kernel.org Date: Fri, 4 Dec 2015 16:15:05 -0800 From: "Paul E. McKenney" To: linux-kernel@vger.kernel.org Cc: mingo@kernel.org, jiangshanlai@gmail.com, dipankar@in.ibm.com, akpm@linux-foundation.org, mathieu.desnoyers@efficios.com, josh@joshtriplett.org, tglx@linutronix.de, peterz@infradead.org, rostedt@goodmis.org, dhowells@redhat.com, edumazet@google.com, dvhart@linux.intel.com, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com Subject: [PATCH tip/core/rcu 0/4] linked-list updates for 4.5 Message-ID: <20151205001505.GA26649@linux.vnet.ibm.com> Reply-To: paulmck@linux.vnet.ibm.com MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-MML: disable X-Content-Scanned: Fidelis XPS MAILER x-cbid: 15120500-0017-0000-0000-000010102B24 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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(-)