From: Cody P Schafer Date: Wed, 3 Jul 2013 22:01:32 +0000 (-0700) Subject: mm/page_alloc: protect pcp->batch accesses with ACCESS_ONCE X-Git-Tag: omap-for-v3.11/fixes-for-merge-window~17^2~401 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=998d39cb236fe464af86a3492a24d2f67ee1efc2;p=pandora-kernel.git mm/page_alloc: protect pcp->batch accesses with ACCESS_ONCE pcp->batch could change at any point, avoid relying on it being a stable value. Signed-off-by: Cody P Schafer Cc: Gilad Ben-Yossef Cc: KOSAKI Motohiro Cc: Mel Gorman Cc: Pekka Enberg Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed