plan9fox/sys
cinap_lenrek c7c7e7ee2a kernel: disable freelist page caching for executables run from uncached mount
the image cache has the property of keeping a channel
for the executable binary arround which prevents the
mountpoint from going away.

this can easily be reproduced by running:

@{rfork n; ramfs; cp /bin/echo /tmp; /tmp/echo}

observe how ramfs stays arround until the image is
reclaimed. the echo binary is also cached but is
unreachable from any namespace.

we now restrict the caching to mounts that use the client
cache (-C flag) only. this should always be the case
for /bin. places where this isnt the case might observe
a performance regression.
2013-10-25 02:42:35 +02:00
..
doc /sys/doc: permissions for cleanps, mkdirlist, mkfilelist 2012-10-20 19:09:54 +02:00
games/lib fortunes: I think we're done here. 2013-10-02 18:02:49 -04:00
include change Rune from ushort to uint for to 21 bit runes (thanks mischief!) 2013-10-17 12:02:45 +02:00
lib newuser: make lib/profile read drawterms /dev/secstore when available 2013-10-23 23:44:25 +02:00
man keyboard(6): new <compose>x sequence, 21 bit runes. 2013-10-17 19:02:50 +02:00
src kernel: disable freelist page caching for executables run from uncached mount 2013-10-25 02:42:35 +02:00