From: Jiri Slaby Date: Wed, 10 Mar 2010 23:23:05 +0000 (-0800) Subject: ipc: use rlimit helpers X-Git-Tag: v2.6.34-rc2~133 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1eb1332b8f07e937add24c6fd2ac40b8737a2f4;p=pandora-kernel.git ipc: use rlimit helpers 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 rlimit helpers added in 3e10e716abf3c71bdb5d86b8f507f9e72236c9cd ("resource: add helpers for fetching rlimits") or ACCESS_ONCE if not applicable. Signed-off-by: Jiri Slaby Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed