From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751029AbdEBPft (ORCPT ); Tue, 2 May 2017 11:35:49 -0400 Received: from mx0a-001b2d01.pphosted.com ([148.163.156.1]:52251 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750710AbdEBPfs (ORCPT ); Tue, 2 May 2017 11:35:48 -0400 Date: Tue, 2 May 2017 08:35:42 -0700 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, fweisbec@gmail.com, oleg@redhat.com, bobby.prani@gmail.com Subject: [PATCH tip/core/rcu 0/2] Debloat rcu_segcblist header file 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-GCONF: 00 x-cbid: 17050215-0044-0000-0000-0000031DD65F X-IBM-SpamModules-Scores: X-IBM-SpamModules-Versions: BY=3.00007012; HX=3.00000240; KW=3.00000007; PH=3.00000004; SC=3.00000208; SDB=6.00855235; UDB=6.00423245; IPR=6.00634396; BA=6.00005322; NDR=6.00000001; ZLA=6.00000005; ZF=6.00000009; ZB=6.00000000; ZP=6.00000000; ZH=6.00000000; ZU=6.00000002; MB=3.00015271; XFM=3.00000014; UTC=2017-05-02 15:35:46 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17050215-0045-0000-0000-0000074BE006 Message-Id: <20170502153542.GA19274@linux.vnet.ibm.com> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-05-02_10:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=1 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1703280000 definitions=main-1705020087 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello! This series debloats the include/linux/rcu_segcblist.h include file: 1. Leave data structures in include/linux/rcu_segcblist.h, but move functions to kernel/rcu/rcu_segcblist.h, courtesy of Ingo Molnar. 2. Move non-trivial functions from kernel/rcu/rcu_segcblist.h to kernel/rcu/rcu_segcblist.c to avoid excessive inlining of large functions. Additional patches open-coding some of the more trivial functions to follow. Thanx, Paul ------------------------------------------------------------------------ include/linux/rcu_segcblist.h | 628 ---------------------- init/Kconfig | 3 kernel/rcu/Makefile | 1 kernel/rcu/rcu_segcblist.c | 505 ++++++++++++++++++ kernel/rcu/rcu_segcblist.h | 1178 ++++++++++++++++++++++++------------------ kernel/rcu/srcutiny.c | 1 kernel/rcu/srcutree.c | 1 kernel/rcu/tree.h | 3 8 files changed, 1196 insertions(+), 1124 deletions(-)