On Tue, Jun 09, 2009 at 10:57:16PM +0000, YAMAMOTO Takashi wrote: > do you have any idea what an implementation of POSIX_FADV_NOREUSE > which is not a no-op would be like?
Effectively add the page is if has been aged already? > IMO, the use-once stream is a too common workload to require > an explicit hint. the VM should just handle it nicely without hints. If you copy a large directory tree for example, you want to ensure that writing starts early and is done continious. This is something were the hint helps (as opposed to writing a file for later use, even if it is done sequentially). Joerg