git: kernel - Some minor swap allocator / blist work
Matthew Dillon
dillon at crater.dragonflybsd.org
Fri Aug 13 14:23:58 PDT 2010
commit 651d8e757ce58ac14ed74b0a8df7d969ee94504a
Author: Matthew Dillon <dillon at apollo.backplane.com>
Date: Fri Aug 13 14:00:06 2010 -0700
kernel - Some minor swap allocator / blist work
* Fix a bug in the 'r' option for the userland compile of the blist code
* Finish converting daddr_t's to swblk_t's in the swap code.
* Move SWAPBLK_* out of vm/vm_page.h (taken from FreeBSD) to reduce
the number of #includes needed. Move them to sys/blist.h
Reported-by: Ilya Dryomov <idryomov at gmail.com>
Summary of changes:
sys/kern/subr_blist.c | 6 +-----
sys/sys/blist.h | 7 +++++++
sys/vm/swap_pager.c | 40 ++++++++++++++++++++--------------------
sys/vm/vm_page.h | 7 -------
4 files changed, 28 insertions(+), 32 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/651d8e757ce58ac14ed74b0a8df7d969ee94504a
--
DragonFly BSD source repository
More information about the Commits
mailing list