LWN.net Logo

fincore()

fincore()

Posted Jan 29, 2010 6:19 UTC (Fri) by kleptog (subscriber, #1183)
Parent article: fincore()

Hmm, it seems there's an assumption here about the page size. It's not immediately clear if you mean 4K or 1K pages. So I think that should be made explicit somehow, like by vec getting a length argument.

But other than that I think it's a fabulous idea. Although you could achieve much the same benefits if you could do a read() and have it also return a flag indicating if the data was all in memory or not.


(Log in to post comments)

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