diff options
author | alc <alc@FreeBSD.org> | 2012-01-03 03:29:01 +0000 |
---|---|---|
committer | alc <alc@FreeBSD.org> | 2012-01-03 03:29:01 +0000 |
commit | 9976fae0420f3eec4397fb825c227ad21c064262 (patch) | |
tree | 76cca13c500cafaae7ee38fe0920162130b36983 /sys/libkern/strchr.c | |
parent | 6b69dce99342af3e1735d81b77ce41c6a8aeb897 (diff) | |
download | FreeBSD-src-9976fae0420f3eec4397fb825c227ad21c064262.zip FreeBSD-src-9976fae0420f3eec4397fb825c227ad21c064262.tar.gz |
Don't pass VM_ALLOC_ZERO to vm_page_grab() in tmpfs_mappedwrite() and
tmpfs_nocacheread(). It is both unnecessary and a pessimization. It
results in either the page being zeroed twice or zeroed first and then
overwritten by an I/O operation.
MFC after: 3 weeks
Diffstat (limited to 'sys/libkern/strchr.c')
0 files changed, 0 insertions, 0 deletions