看板 DFBSD_commit 關於我們 聯絡資訊
commit aecf2182797e0f7781a4156435e821afe640c2ef Author: Matthew Dillon <dillon@apollo.backplane.com> Date: Sat Feb 6 11:26:39 2010 -0800 kernel - SWAP CACHE part 13/many - More vm_pindex_t work for vm_objects on i386 * vm_object->size also needs to be a vm_pindex_t, e.g. when mmap()ing regular HAMMER files or block devices or HAMMER's own use of block devices, in order to support vm_object operations past the 16TB mark. * Introduce a 64-bit-friendly trunc_page64() and round_page64(), just to make sure we don't cut off page alignment operations on 64-bit offsets. Summary of changes: sys/sys/param.h | 7 +++++++ sys/vm/default_pager.c | 6 +++++- sys/vm/device_pager.c | 2 +- sys/vm/phys_pager.c | 2 +- sys/vm/swap_pager.c | 2 +- sys/vm/swap_pager.h | 2 +- sys/vm/vm_object.c | 4 ++-- sys/vm/vm_object.h | 6 +++--- sys/vm/vm_page.c | 4 ++-- sys/vm/vnode_pager.c | 2 +- 10 files changed, 24 insertions(+), 13 deletions(-) http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/aecf2182797e0f7781a4156435e821afe640c2ef -- DragonFly BSD source repository