]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Starting in r118390, swaponsomething() began to reserve the blocks at the
authoralc <alc@FreeBSD.org>
Tue, 6 Jun 2017 16:52:07 +0000 (16:52 +0000)
committeralc <alc@FreeBSD.org>
Tue, 6 Jun 2017 16:52:07 +0000 (16:52 +0000)
commit662afbe1bfce258604215ba174f75e7781099142
tree8c683071c63aa070b0eac112b271ffbb74e664bc
parent6beb3f15a2ac9db206be48be3b6874b7decf691f
Starting in r118390, swaponsomething() began to reserve the blocks at the
beginning of a swap area for a disk label.  However, neither r118390 nor
r118544, which increased the reservation from one to two blocks, correctly
accounted for these blocks when updating the variable "swap_pager_avail".
This change corrects that error.

Reviewed by: kib
MFC after: 5 days
sys/vm/swap_pager.c