Messages in this thread | | | Date | Sat, 28 Nov 2009 09:47:01 +0100 | From | Jiri Slaby <> | Subject | Re: [PATCH v3 16/27] PPC: use helpers for rlimits |
| |
On 11/28/2009 01:19 AM, Benjamin Herrenschmidt wrote: > On Sat, 2009-11-28 at 00:05 +0100, Jiri Slaby wrote: >> Make sure compiler won't do weird things with limits. E.g. fetching >> them twice may return 2 different values after writable limits are >> implemented. >> >> I.e. either use newly added rlimit helpers or ACCESS_ONCE if not >> applicable. > > Thanks. I have that already queued up.
Are you sure? The previous version with ACCESS_ONCE was generally NACKed. This one uses a newly added helper which is much more cleaner way to do it.
thanks, -- js
| |