[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <0000013b1a987395-2afa8715-e3f8-4bd1-8f56-6a8073da757b-000000@email.amazonses.com>
Date: Mon, 19 Nov 2012 21:34:57 +0000
From: Christoph Lameter <cl@...ux.com>
To: Shan Wei <shanwei88@...il.com>
cc: rostedt@...dmis.org, fweisbec@...il.com, mingo@...hat.com,
Kernel-Maillist <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] trace: use __this_cpu_inc/dec operation instead of
__get_cpu_var
On Mon, 19 Nov 2012, Shan Wei wrote:
> __this_cpu_inc_return() or __this_cpu_dec generates a single instruction,
> which is faster than __get_cpu_var operation.
Reviewed-by: Christoph Lameter <cl@...ux.com>
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists