sync_page() smp_mb() comment

2005-04-21 Thread William Lee Irwin III
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. mm/filemap.c: 93595c327bbdc43fcea91b513fd750d1a73edfec ---

sync_page() smp_mb() comment

2005-04-21 Thread William Lee Irwin III
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. mm/filemap.c: 93595c327bbdc43fcea91b513fd750d1a73edfec ---