Re: [PATCH 04/31] block: Replace __this_cpu_ptr with raw_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:19PM -0500, Christoph Lameter wrote:
> __this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
> introduced in 3.15-rc1.
> 
> Cc: Jens Axboe 
> Signed-off-by: Christoph Lameter 

Applied to wq/for-3.17-consistent-ops.  If this patch should be routed
differently, please holler.

Thanks.

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


Re: [PATCH 04/31] block: Replace __this_cpu_ptr with raw_cpu_ptr

2014-07-18 Thread Tejun Heo
On Fri, Jun 20, 2014 at 02:31:19PM -0500, Christoph Lameter wrote:
 __this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
 introduced in 3.15-rc1.
 
 Cc: Jens Axboe ax...@kernel.dk
 Signed-off-by: Christoph Lameter c...@linux.com

Applied to wq/for-3.17-consistent-ops.  If this patch should be routed
differently, please holler.

Thanks.

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


[PATCH 04/31] block: Replace __this_cpu_ptr with raw_cpu_ptr

2014-06-20 Thread Christoph Lameter
__this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
introduced in 3.15-rc1.

Cc: Jens Axboe 
Signed-off-by: Christoph Lameter 

Index: linux/fs/ext4/mballoc.c
===
--- linux.orig/fs/ext4/mballoc.c2014-05-21 22:47:11.772163618 -0500
+++ linux/fs/ext4/mballoc.c 2014-05-21 22:47:11.768163700 -0500
@@ -4101,7 +4101,7 @@
 * per cpu locality group is to reduce the contention between block
 * request from multiple CPUs.
 */
-   ac->ac_lg = __this_cpu_ptr(sbi->s_locality_groups);
+   ac->ac_lg = raw_cpu_ptr(sbi->s_locality_groups);
 
/* we're going to use group allocation */
ac->ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;

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


[PATCH 04/31] block: Replace __this_cpu_ptr with raw_cpu_ptr

2014-06-20 Thread Christoph Lameter
__this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
introduced in 3.15-rc1.

Cc: Jens Axboe ax...@kernel.dk
Signed-off-by: Christoph Lameter c...@linux.com

Index: linux/fs/ext4/mballoc.c
===
--- linux.orig/fs/ext4/mballoc.c2014-05-21 22:47:11.772163618 -0500
+++ linux/fs/ext4/mballoc.c 2014-05-21 22:47:11.768163700 -0500
@@ -4101,7 +4101,7 @@
 * per cpu locality group is to reduce the contention between block
 * request from multiple CPUs.
 */
-   ac-ac_lg = __this_cpu_ptr(sbi-s_locality_groups);
+   ac-ac_lg = raw_cpu_ptr(sbi-s_locality_groups);
 
/* we're going to use group allocation */
ac-ac_flags |= EXT4_MB_HINT_GROUP_ALLOC;

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