summaryrefslogtreecommitdiffstats
path: root/sys/dev/isci
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2013-04-28 19:38:59 +0000
committerkib <kib@FreeBSD.org>2013-04-28 19:38:59 +0000
commit2f2c1edec8b49b001f43df2df01de504dfd6ed3a (patch)
tree1a58748990918f89c2609e952ac76f14624b7411 /sys/dev/isci
parentd4d37d6d8889403ad1350f932cbb9421b9b6023d (diff)
downloadFreeBSD-src-2f2c1edec8b49b001f43df2df01de504dfd6ed3a.zip
FreeBSD-src-2f2c1edec8b49b001f43df2df01de504dfd6ed3a.tar.gz
Rework the handling of the tmpfs node backing swap object and tmpfs
vnode v_object to avoid double-buffering. Use the same object both as the backing store for tmpfs node and as the v_object. Besides reducing memory use up to 2x times for situation of mapping files from tmpfs, it also makes tmpfs read and write operations copy twice bytes less. VM subsystem was already slightly adapted to tolerate OBJT_SWAP object as v_object. Now the vm_object_deallocate() is modified to not reinstantiate OBJ_ONEMAPPING flag and help the VFS to correctly handle VV_TEXT flag on the last dereference of the tmpfs backing object. Reviewed by: alc Tested by: pho, bf MFC after: 1 month
Diffstat (limited to 'sys/dev/isci')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud