From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751953AbbFHDP6 (ORCPT ); Sun, 7 Jun 2015 23:15:58 -0400 Received: from mail-pd0-f172.google.com ([209.85.192.172]:34581 "EHLO mail-pd0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751350AbbFHDPu (ORCPT ); Sun, 7 Jun 2015 23:15:50 -0400 Date: Mon, 8 Jun 2015 12:15:43 +0900 From: Tejun Heo To: Eric Dumazet Cc: "H. Peter Anvin" , "linux-kernel@vger.kernel.org" , Linus Torvalds Subject: Re: [RFC] percpu section full of holes Message-ID: <20150608031543.GC21465@mtj.duckdns.org> References: <1433696107.29864.51.camel@edumazet-glaptop2.roam.corp.google.com> <20150608030932.GB21465@mtj.duckdns.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20150608030932.GB21465@mtj.duckdns.org> User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 08, 2015 at 12:09:32PM +0900, Tejun Heo wrote: > For things we want to pack together, I suppose our only option is > packing them into a struct and defining access macros into it. It's > unfortunately clumsier but expresses the intended effect clearer to > both readers and toolchain. One annoying thing is that we prolly have quite a few places where people put things which are likely to be used together close to each other intentionally and by convention and we're now losing all that contextual information. I have no idea whatsoever whether the gain from toolchain shuffling symbols around is larger or smaller than whatever gain which can be gained from such colocations. Thanks. -- tejun