/[base]
ViewVC logotype

Revision 326329


Jump to revision: Previous Next
Author: alc
Date: Tue Nov 28 17:46:03 2017 UTC (6 years, 7 months ago)
Changed paths: 1
Log Message:
When the swap pager allocates space on disk, it requests contiguous
blocks in a single call to blist_alloc().  However, when it frees
that space, it previously called blist_free() on each block, one at a
time.  With this change, the swap pager identifies ranges of
contiguous blocks to be freed, and calls blist_free() once per
range.  In one extreme case, that is described in the review, the time
to perform an munmap(2) was reduced by 55%.

Submitted by:	Doug Moore <dougm@rice.edu>
Reviewed by:	kib
MFC after:	1 week
Differential Revision:	https://reviews.freebsd.org/D12397


Changed paths

Path Details
Directoryhead/sys/vm/swap_pager.c modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.27