From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753131AbaBNU3E (ORCPT ); Fri, 14 Feb 2014 15:29:04 -0500 Received: from qmta09.emeryville.ca.mail.comcast.net ([76.96.30.96]:40700 "EHLO qmta09.emeryville.ca.mail.comcast.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753169AbaBNUT6 (ORCPT ); Fri, 14 Feb 2014 15:19:58 -0500 Message-Id: <20140214201906.376384012@linux.com> Date: Fri, 14 Feb 2014 14:19:04 -0600 From: Christoph Lameter To: Tejun Heo Cc: akpm@linuxfoundation.org, rostedt@goodmis.org, linux-kernel@vger.kernel.org, Ingo Molnar , Peter Zijlstra , Thomas Gleixner , Jens Axboe Subject: [PATCH 23/48] block: Replace __this_cpu_ptr with raw_cpu_ptr References: <20140214201841.826179349@linux.com> Content-Type: text/plain; charset=UTF-8 Content-Disposition: inline; filename=this_block Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org [Patch depends on another patch in this series that introduces raw_cpu_ops] __this_cpu_ptr is being phased out. Cc: Jens Axboe Signed-off-by: Christoph Lameter Index: linux/fs/ext4/mballoc.c =================================================================== --- linux.orig/fs/ext4/mballoc.c 2014-02-03 13:22:58.795551096 -0600 +++ linux/fs/ext4/mballoc.c 2014-02-03 13:22:58.785551304 -0600 @@ -4090,7 +4090,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;