All of lore.kernel.org
 help / color / mirror / Atom feed
* block: Replace __this_cpu_ptr with raw_cpu_ptr
@ 2014-04-15 17:38 Christoph Lameter
  2014-04-15 18:20 ` Tejun Heo
  0 siblings, 1 reply; 2+ messages in thread
From: Christoph Lameter @ 2014-04-15 17:38 UTC (permalink / raw)
  To: axboe; +Cc: linux-kernel, Tejun Heo

__this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
introduced in 3.15-rc1.

Signed-off-by: Christoph Lameter <cl@linux.com>

Index: linux/fs/ext4/mballoc.c
===================================================================
--- linux.orig/fs/ext4/mballoc.c	2014-04-14 13:24:55.153354620 -0500
+++ linux/fs/ext4/mballoc.c	2014-04-14 13:24:55.149354698 -0500
@@ -4091,7 +4091,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;

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: block: Replace __this_cpu_ptr with raw_cpu_ptr
  2014-04-15 17:38 block: Replace __this_cpu_ptr with raw_cpu_ptr Christoph Lameter
@ 2014-04-15 18:20 ` Tejun Heo
  0 siblings, 0 replies; 2+ messages in thread
From: Tejun Heo @ 2014-04-15 18:20 UTC (permalink / raw)
  To: Christoph Lameter; +Cc: axboe, linux-kernel

On Tue, Apr 15, 2014 at 12:38:05PM -0500, Christoph Lameter wrote:
> __this_cpu_ptr is being phased out use raw_cpu_ptr instead which was
> introduced in 3.15-rc1.
> 
> Signed-off-by: Christoph Lameter <cl@linux.com>

Acked-by: Tejun Heo <tj@kernel.org>

-- 
tejun

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-04-15 18:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-15 17:38 block: Replace __this_cpu_ptr with raw_cpu_ptr Christoph Lameter
2014-04-15 18:20 ` Tejun Heo

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.