Do not report reduction of swap zone if it was not.
After r324600 we see the actual reservation. Reported by: jkim Sponsored by: The FreeBSD Foundation MFC after: 1 week
This commit is contained in:
parent
ccf2e8123b
commit
1fffcd755d
@ -549,7 +549,7 @@ swap_pager_swap_init(void)
|
||||
*/
|
||||
n = uma_zone_get_max(swblk_zone);
|
||||
|
||||
if (n2 != n)
|
||||
if (n < n2)
|
||||
printf("Swap blk zone entries reduced from %lu to %lu.\n",
|
||||
n2, n);
|
||||
swap_maxpages = n * SWAP_META_PAGES;
|
||||
|
Loading…
x
Reference in New Issue
Block a user