plan9fox/sys/lib
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
..
acid kernel: make image cache not hold onto the channel, remove nocache flag 2013-11-08 22:31:26 +01:00
antiword Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
astar Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
backup Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
dist ndb/common: update ip for d.root-servers.net 2013-10-26 01:11:18 +02:00
fax Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
ghostscript Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
kbmap kbmap/ua: fix uppercase ь 2013-05-20 13:48:09 +02:00
lex Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
lp lp: HTML table support 2012-09-10 08:10:30 +02:00
man fix missing return compile error for manual book index generator 2013-04-28 16:47:03 +02:00
music/icon Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
plumb dont plumb html to page 2011-10-08 05:08:01 +02:00
postscript Backed out changeset db0fa2edf131 2012-01-06 18:58:39 +01:00
python hgwebfs: remove prefixing // from file path 2012-09-10 22:20:40 +02:00
scribble/classifiers Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
sysconfig cdproto: only include binaries for $objtype, filter temporary files 2013-02-24 04:48:12 +01:00
texmf/tex/generic/hyphen Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
tls dont track /sys/lib/tls 2012-03-12 18:27:40 +01:00
tmac troff macros: change unix /usr/lib paths to plan9 /sys/lib and /usr/bin/col -> /bin/col 2013-02-16 23:56:17 +01:00
troff fix manual (book) build, add files/permissions for lp, compile postscript 2011-05-05 06:41:01 +00:00
wiki Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
agent.config Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
amspell Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
bclib Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
brspell Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
eqnchar Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
grap.defines Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
httpd.rewrite Backed out changeset db0fa2edf131 2012-01-06 18:58:39 +01:00
mimetype Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
newuser newuser: make lib/profile read drawterms /dev/secstore when available 2013-10-23 23:44:25 +02:00
rootbind rootbind: only bind /bin if binaries are there 2011-08-30 05:50:21 -04:00
rootstub rootstub: create directories for mips 2013-09-21 21:21:18 +02:00
samsave Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
scsicodes Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
subscribers Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
webls.denied Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
yaccpar Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00
yaccpars Import sources from 2011-03-30 iso image - lib 2011-03-30 19:35:09 +03:00