summaryrefslogtreecommitdiff
path: root/sys/src/cmd/python/Python/getplatform.c
diff options
context:
space:
mode:
authorcinap_lenrek <cinap_lenrek@felloff.net>2019-01-22 22:06:42 +0100
committercinap_lenrek <cinap_lenrek@felloff.net>2019-01-22 22:06:42 +0100
commit26d36c3ae2fd6ae40148be58589ea5e81b0ca341 (patch)
tree26b62c6bd4c457f3d0cb0d37684227f1980ec449 /sys/src/cmd/python/Python/getplatform.c
parent4b2f31131adaec9bd2837d877c4732069db27999 (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