[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <79E93560F4A5FD42BB769DAAF8BEF62A01AA8380@scsmsx411.amr.corp.intel.com>
Date: Tue, 22 May 2007 12:01:20 -0700
From: "Yu, Fenghua" <fenghua.yu@...el.com>
To: "Christoph Lameter" <clameter@....com>
Cc: <akpm@...ux-foundation.org>,
"Siddha, Suresh B" <suresh.b.siddha@...el.com>,
<kiran@...lex86.org>, <rmk@....linux.org.uk>,
<linux-kernel@...r.kernel.org>
Subject: RE: [PATCH 2/2] Use the new percpu interface for shared data -- version 3
>> -DEFINE_PER_CPU(struct tss_struct, init_tss)
>>____cacheline_internodealigned_in_smp = INIT_TSS;
>> +DEFINE_PER_CPU_SHARED_ALIGNED(struct tss_struct, init_tss) =
INIT_TSS;
>Good work but could we call this something shorter?
>Like
>DEFINE_CPU_SHARED(...)
The PER_CPU_SHARED_ALIGNED is corresponding to
.data.per_cpu.shared_aligned section which has all shared and aligned
percpu data.
In future, another section .data.per_cpu.shared and its macro
DEFINE_PER_CPU_SHARED might be added for shared but not aligned.
BTW, DEFINE_PER_CPU_SHARED_ALIGNED is already getting shorter than
pervious version.
Thanks.
-Fenghua
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists