plan9fox/sys/lib/acid
cinap_lenrek 2bc9e8e5e3 kernel: make image cache not hold onto the channel, remove nocache flag
the image cache should not hold onto the text file channel
when not neccesary. now, the image keeps track of the number
of page cache references in Image.pgref. if the number of
page cache references and Image.ref are equal, this means
all the references to this image are from the page cache.
so no segments are using this image. in that case, we can
close the channel, but keep the Image in the hash table.

when attachimage() finds our image, it will check if Image.c
is nil and reattach the channel to the image before it is
used.

the Image.nocache flag isnt needed anymore.
2013-11-08 22:31:26 +01:00
..
386 keep fpregs always in sse (FXSAVE) format, adapt libmach and acid files for new format 2013-05-26 22:41:40 +02:00
68020
acme
alef
alpha
arm
coverage
kernel kernel: make image cache not hold onto the channel, remove nocache flag 2013-11-08 22:31:26 +01:00
leak
mips
network
pool acid: fix dumptree() acid function to work in kernel debug, update malloc.acid and pool.acid files 2013-06-10 01:13:21 +02:00
port
power
sparc
sparc64
syscall
thread
transcript
trump
truss
window