(1) convert the panic() at the function's start into a KASSERT(), (2) convert sync into a bool-type variable async, (3) make the variable definitions style(9) compliant, and (4) move the calls to swp_pager_init_freerange() and swp_pager_freeswapspace() out from under the object lock.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
swap_pager.c | ||
---|---|---|
1335 ↗ | (On Diff #60211) | Please fix the "whos". |
1355–1356 ↗ | (On Diff #60211) | Please capitalize and punctuate these sentences. |
1387 ↗ | (On Diff #60211) | Shouldn't this be a period instead of a comma? |
Comment Actions
I think that this is a good change and ready to commit. Give Kostik and Mark a chance to comment.