Messages in this thread | | | Subject | RE: [PATCH 2/2] Use the new percpu interface for shared data -- version 3 | Date | Tue, 22 May 2007 12:01:20 -0700 | From | "Yu, Fenghua" <> |
| |
>> -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@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |