]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Halve the memory being internally allocated by the blist allocator. In
authorAlan Cox <alc@FreeBSD.org>
Mon, 5 Jun 2017 17:14:16 +0000 (17:14 +0000)
committerAlan Cox <alc@FreeBSD.org>
Mon, 5 Jun 2017 17:14:16 +0000 (17:14 +0000)
commit064650c180bfb2bcb9f347218675443bf6a73706
treeb8c222b864ae32aa22c87fe4b367bc9da8e7c2b8
parentdc09cfbf0813249d7a11ad180061318dffe0116c
Halve the memory being internally allocated by the blist allocator.  In
short, half of the memory that is allocated to implement the radix tree is
wasted because we did not change "u_daddr_t" to be a 64-bit unsigned int
when we changed "daddr_t" to be a 64-bit (signed) int.  (See r96849 and
r96851.)

Reviewed by: kib, markj
Tested by: pho
MFC after: 5 days
Differential Revision: https://reviews.freebsd.org/D11028
sys/kern/subr_blist.c
sys/sys/blist.h
sys/vm/swap_pager.c