[Patch depends on another patch in this series that introduces raw_cpu_ops]
__get_cpu_var() is used for multiple purposes in the kernel source. One of
them is address calculation via the form &__get_cpu_var(x). This calculates
the address for the instance of the percpu variable of the current pro
On Mon, 9 Dec 2013, Chris Metcalf wrote:
> Except for a comment typo:
>
> > /*
> > * Read the set of maskable interrupts.
> > - * We avoid the preemption warning here via __this_cpu_ptr since even
> > + * We avoid the preemption warning here via raw_cpu_ptr since even
> > * if irqs are alread
On 12/3/2013 6:33 PM, Christoph Lameter wrote:
> __get_cpu_var() is used for multiple purposes in the kernel source. One of
> them is address calculation via the form &__get_cpu_var(x). This calculates
> the address for the instance of the percpu variable of the current processor
> based on an off
__get_cpu_var() is used for multiple purposes in the kernel source. One of
them is address calculation via the form &__get_cpu_var(x). This calculates
the address for the instance of the percpu variable of the current processor
based on an offset.
Other use cases are for storing and retrieving da
4 matches
Mail list logo