Re: [PATCH 06/10] block: Replace __get_cpu_var uses

2013-10-15 Thread Jens Axboe
On Tue, Oct 15 2013, 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 offs

[PATCH 06/10] block: Replace __get_cpu_var uses

2013-10-15 Thread Christoph Lameter
__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