Subject: Re: [PATCH -next] slub: Replace __this_cpu_inc usage w/ SLUB_STATS

From: Christoph Lameter <[email-masked]>
Date: Fri, 7 Mar 2014 11:09:34 -0600 (CST)

On Thu, 6 Mar 2014, Josh Cartwright wrote:

> Although, I'm wondering how exact these statistics need to be.  Is
> making them preemption safe even a concern?

Not sure about that. You solution makes it preempt safe. If is can be
tolerated that its racy then raw_cpu_inc() could be used.

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email-masked].  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email-masked]"> [email-masked] </a>