LWN.net Logo

msync() and subtle behavioral tweaks

msync() and subtle behavioral tweaks

Posted Jun 21, 2012 14:39 UTC (Thu) by mikemol (subscriber, #83507)
Parent article: msync() and subtle behavioral tweaks

Just a guess, but if you change MS_ASYNC to immediately being syncing, wouldn't that reduce the kernel's ability to defer syncing in, e.g. mobile and low-power environments?

If my spinning platters started spinning more frequently (or failed to spin down as often), I know I'd be annoyed.


(Log in to post comments)

msync() and subtle behavioral tweaks

Posted Jul 3, 2012 12:40 UTC (Tue) by philomath (guest, #84172) [Link]

In that case, why the MS_ASYNC at all? just leave it for the kernel.
In general, it doesn't make sense to have a flag that does nothing, just because it has never done anything.

Copyright © 2013, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds