plan9fox/sys/src
cinap_lenrek 1b8fb4fec3 swap: make sure swap address sticks arround until page is written to swap
we have to make sure the *swap address* doesnt go away,
after putting the swap address in the segment pte.

after we unlock the segment, the process could be
killed or fault which would cause the swap address to
be freed *before* we write the page to disk when it
pulls the page from the cache and putswap() swap pte.

keeping a reference to the page is no good. we have
to hold on the swap address. this also has the advantage
that we can now test if the swap address is still
referenced and can avoid writing to disk.
2014-06-08 17:39:40 +02:00
..
9 swap: make sure swap address sticks arround until page is written to swap 2014-06-08 17:39:40 +02:00
ape ape/stdio: set errno to EMFILE when running out of streams 2014-05-29 00:34:47 +02:00
boot
cmd file: djvu 2014-06-07 23:16:34 +02:00
games games/nes: support Battle City two players mode with joypads 2014-06-01 01:21:00 +02:00
lib9p
libaml
libauth libauth: dont print blobs in auth_proxy error strings 2014-05-24 19:49:54 +02:00
libauthsrv
libavl
libbin
libbio
libc libc: avoid static table and supurious reads in nsec() 2014-05-23 18:56:20 +02:00
libcomplete
libcontrol
libdisk
libdraw
libfis
libflate
libframe
libgeometry
libhtml
libhttpd
libip
libjson
liblex
libmach
libmemdraw
libmemlayer
libmp
libndb
liboventi
libplumb
libregexp
libscribble
libsec
libstdio
libString
libsunrpc
libthread
libventi
mkfile
mkfile.proto
NOTICE