Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755281AbYFJS2U (ORCPT ); Tue, 10 Jun 2008 14:28:20 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1752934AbYFJS2J (ORCPT ); Tue, 10 Jun 2008 14:28:09 -0400 Received: from relay1.sgi.com ([192.48.171.29]:38926 "EHLO relay.sgi.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752314AbYFJS2I (ORCPT ); Tue, 10 Jun 2008 14:28:08 -0400 Date: Tue, 10 Jun 2008 11:28:07 -0700 (PDT) From: Christoph Lameter X-X-Sender: clameter@schroedinger.engr.sgi.com To: Eric Dumazet cc: Mike Travis , akpm@linux-foundation.org, linux-arch@vger.kernel.org, linux-kernel@vger.kernel.org, David Miller , Peter Zijlstra , Rusty Russell Subject: Re: [patch 02/41] cpu alloc: The allocator In-Reply-To: <484EC25E.4070209@cosmosbay.com> Message-ID: References: <20080530035620.587204923@sgi.com> <20080530040011.084909898@sgi.com> <483F8AF7.9000309@cosmosbay.com> <4846AD84.2090800@sgi.com> <484EC25E.4070209@cosmosbay.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 891 Lines: 23 On Tue, 10 Jun 2008, Eric Dumazet wrote: > Well, MODULE is not CONFIG_MODULES :) > > If compiling an object that is going to be statically linked to kernel, MODULE > is not defined, so we have shared objects. > > When compiling a module, we cannot *yet* use .data.percpu.shared_aligned > section, since module loader wont handle this section. > > Alternative is to change modules linking for all arches to merge > .data.percpu{*} subsections correctly, or tell module loader to take into > account all .data.percpu sections. > > AFAIK no module uses DEFINE_PER_CPU_SHARED_ALIGNED() yet... Ahhh. Makes sense. Add a comment to explain this? -- 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/