[PATCH] sync_page() smp_mb() comment
authorWilliam Lee Irwin III <wli@holomorphy.com>
Sun, 1 May 2005 15:58:38 +0000 (08:58 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Sun, 1 May 2005 15:58:38 +0000 (08:58 -0700)
commitdd1d5afca8d3bda7ff9db773fc08e648d2503dc6
treeb0cc49be9dc43558e31be18d6045181661492018
parent93ea1d0a12623dc1a693642b5758261f35f9bf96
[PATCH] sync_page() smp_mb() comment

The smp_mb() is becaus sync_page() doesn't have PG_locked while it accesses
page_mapping(page).  The comments in the patch (the entire patch is the
addition of this comment) try to explain further how and why smp_mb() is
used.

Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
mm/filemap.c