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 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
acme Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
alef Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
alpha Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
arm Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
coverage Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
kernel kernel: make image cache not hold onto the channel, remove nocache flag 2013-11-08 22:31:26 +01:00
leak Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
mips Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
network Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
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 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
power Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sparc Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sparc64 Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
syscall Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
thread Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
transcript Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
trump Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
truss Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
window merge 2011-09-03 09:18:27 -04:00