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

Peter Zijlstra
2014-08-12T05:55:43Z

[-- Attachment #1: Type: text/plain, Size: 256 bytes --]

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
it.

[-- Attachment #2: Type: application/pgp-signature, Size: 836 bytes --]