PERFORCE change 200200 for review
John Baldwin
jhb at FreeBSD.org
Fri Oct 14 14:49:42 UTC 2011
http://p4web.freebsd.org/@@200200?ac=10
Change 200200 by jhb at jhb_jhbbsd on 2011/10/14 14:49:12
Note unexpected behavior.
Affected files ...
.. //depot/projects/fadvise/sys/kern/vfs_syscalls.c#5 edit
Differences ...
==== //depot/projects/fadvise/sys/kern/vfs_syscalls.c#5 (text+ko) ====
@@ -4946,6 +4946,9 @@
* Apply the request to the backing VM object. Note
* that the FADV_* constants map directly to the same
* madvise(2) constants.
+ *
+ * XXX: madvise(MADV_WILLNEED) will not do readahead on
+ * a file, perhaps FADV_WILLNEED should.
*/
start = trunc_page(uap->offset);
end = round_page(end);
More information about the p4-projects
mailing list