-
- Downloads
Merge branch 'pagecache' of https://github.com/gleb-cloudius/osv
"
This is write page cache implemented on top of ARC read cache. On a
read fault pages are initially mapped from ARC directly, but they are
marked as RO in a page table. On a write fault pages are copied into
small write page cache for shared mapping, or into anonymous page for
private mappings. Pages are removed from write cache and written back
into a file in a FIFO order.
This passes "make check", misc-mmap-big-file modified to do write in
addition to read and "cassandra-stress -d".
"
Signed-off-by:
Avi Kivity <avi@cloudius-systems.com>
No related branches found
No related tags found
Showing
- arch/x64/arch-mmu.hh 8 additions, 6 deletionsarch/x64/arch-mmu.hh
- bsd/porting/mmu.cc 1 addition, 1 deletionbsd/porting/mmu.cc
- bsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c 11 additions, 28 deletionsbsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/dmu.c
- bsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h 1 addition, 1 deletionbsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/sys/dmu.h
- bsd/sys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c 3 additions, 17 deletions...ys/cddl/contrib/opensolaris/uts/common/fs/zfs/zfs_vnops.c
- build.mk 1 addition, 0 deletionsbuild.mk
- core/mmu.cc 136 additions, 108 deletionscore/mmu.cc
- core/pagecache.cc 229 additions, 0 deletionscore/pagecache.cc
- fs/vfs/vfs_fops.cc 33 additions, 64 deletionsfs/vfs/vfs_fops.cc
- include/osv/file.h 3 additions, 2 deletionsinclude/osv/file.h
- include/osv/mmu-defs.hh 68 additions, 0 deletionsinclude/osv/mmu-defs.hh
- include/osv/mmu.hh 23 additions, 49 deletionsinclude/osv/mmu.hh
- include/osv/pagecache.hh 18 additions, 0 deletionsinclude/osv/pagecache.hh
- include/osv/uio.h 0 additions, 10 deletionsinclude/osv/uio.h
- include/osv/vfs_file.hh 3 additions, 2 deletionsinclude/osv/vfs_file.hh
- include/osv/vnode.h 9 additions, 6 deletionsinclude/osv/vnode.h
Loading
Please register or sign in to comment