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

Christoph Lameter
2014-04-14T13:59:46Z

On Mon, 14 Apr 2014, Johannes Hirte wrote:

> kernel/watchdog.c:
>
> void touch_softlockup_watchdog(void)
> {
> __this_cpu_write(watchdog_touch_ts, 0);
> }
> EXPORT_SYMBOL(touch_softlockup_watchdog);
>
> Don't know if the change to this_cpu_write() is the right way here too.

Well yes lets change that to this_cpu_write(). I doubt there are
significant performance issues here.