diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-01-22 22:06:42 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2019-01-22 22:06:42 +0100 |
commit | 26d36c3ae2fd6ae40148be58589ea5e81b0ca341 (patch) | |
tree | 26b62c6bd4c457f3d0cb0d37684227f1980ec449 /sys/src/cmd/python/Python/getplatform.c | |
parent | 4b2f31131adaec9bd2837d877c4732069db27999 (diff) |
devswap: simplify, don't panic when writing swapfile fails
always start the pager kproc in swapinit(), simplifying kickpager().
allow zero conf.nswap and conf.nswppo. avoid allocating the reference
map and iolist arrays in that case.
use ulong for ioptr and iolist indices.
don't panic when writing pages out to the swapfile fails. just
requeue the page in the io transaction list so we will try
again next time executeio() is run or just free the page when
the swap reference was dropped.
remove unused pagersummary() function.
Diffstat (limited to 'sys/src/cmd/python/Python/getplatform.c')
0 files changed, 0 insertions, 0 deletions