Re: [PATCH] sched: Remove ACCESS_ONCE() for jiffies

From: Peter Zijlstra
Date: Tue Aug 12 2014 - 01:55:45 EST

On Mon, Aug 11, 2014 at 06:51:41PM -0400, Pranith Kumar wrote:
> jiffies is declared as a volatile variable. Therefore it is not neccessary to
> use ACCESS_ONCE() while reading it.

It also doesn't hurt and it documents intent, so I'm inclined to keep

Attachment: pgpfijNuOWtmM.pgp
Description: PGP signature