]> git.ipfire.org Git - thirdparty/libsolv.git/commit
Overshoot size for large memory chunks in solv_extend
authorMichael Schroeder <mls@suse.de>
Tue, 17 Nov 2015 14:33:52 +0000 (15:33 +0100)
committerMichael Schroeder <mls@suse.de>
Tue, 17 Nov 2015 14:33:52 +0000 (15:33 +0100)
commita8220fe1d69f96825a912df96d1a2212f5c61b85
treea84eb9db51e9cb8f3192d725290f2500cf25b7be
parent450556edeeb08c931daa386f351aade6e67f7102
Overshoot size for large memory chunks in solv_extend

We now dynamically round up the size to some ppower of two. This
brings down the number of mremap calls fro 96163 to 675 when
converting Fedora22's Everything repo, which makes no real difference
on my system but seems to help a lot if this is done in a Xen
guest. See libsolv issue#111 on github.
src/libsolv.ver
src/util.c
src/util.h