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
---
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
---
2 matches
Mail list logo