Re: [tip:x86/mm] percpu: Introduce a read-mostly percpu API

From: H. Peter Anvin
Date: Thu Oct 21 2010 - 02:11:07 EST


On 10/20/2010 04:06 PM, tip-bot for Shaohua Li wrote:

>
> diff --git a/include/asm-generic/vmlinux.lds.h b/include/asm-generic/vmlinux.lds.h
> index 8a92a17..d7e7b21 100644
> --- a/include/asm-generic/vmlinux.lds.h
> +++ b/include/asm-generic/vmlinux.lds.h
> @@ -677,7 +677,9 @@
> - LOAD_OFFSET) { \
> VMLINUX_SYMBOL(__per_cpu_start) = .; \
> *(.data..percpu..first) \
> + . = ALIGN(PAGE_SIZE); \
> *(.data..percpu..page_aligned) \
> + *(.data..percpu..readmostly) \
> *(.data..percpu) \
> *(.data..percpu..shared_aligned) \
> VMLINUX_SYMBOL(__per_cpu_end) = .; \
> @@ -703,6 +705,8 @@
> VMLINUX_SYMBOL(__per_cpu_load) = .; \
> VMLINUX_SYMBOL(__per_cpu_start) = .; \
> *(.data..percpu..first) \
> + . = ALIGN(PAGE_SIZE); \
> + *(.data..percpu..readmostly) \
> *(.data..percpu..page_aligned) \
> *(.data..percpu) \
> *(.data..percpu..shared_aligned) \

ARGH... looks like I didn't catch it everywhere...

-hpa

--
H. Peter Anvin, Intel Open Source Technology Center
I work for Intel. I don't speak on their behalf.

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/