Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

This is why msync is for. You can sync page by page and ensure ordering yourself.


You think you can, but you can't! Linux always sync's the whole file; see https://lwn.net/Articles/502612/ for a discussion of why fixing this horrible bug is too dangerous.


"You think you can, but you can't!"

Welcome to systems programming....


This is not true after Linux 3.16, commit 7fc34a62ca44 ("mm/msync.c: sync only the requested range in msync()").




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: