YAMAMOTO Takashi
2013-12-24 09:39:36 UTC
hi,
does this (and the relevant sysinst commit) mean that we provide
a different set of functionality depending on the amount of memory?
i don't think it's a good idea. poor performance on poor system
is ok. but the lack of functionality is confusing.
IMO the fstype check should be removed. (and probably make cleartmp
clean /var/shm as well.)
YAMAMOTO Takashi
Module Name: src
Committed By: rmind
Date: Thu Dec 19 19:11:50 UTC 2013
src/lib/libc/gen: sysconf.c
src/lib/librt: Makefile
src/sys/sys: mman.h unistd.h
src/usr.bin/getconf: getconf.c
src/lib/librt: shm.c
Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
They are implemented using tmpfs (mounted at /var/shm).
Discussed on tech-{kern,userlevel} (quite a while ago).
thanks for working on this.Committed By: rmind
Date: Thu Dec 19 19:11:50 UTC 2013
src/lib/libc/gen: sysconf.c
src/lib/librt: Makefile
src/sys/sys: mman.h unistd.h
src/usr.bin/getconf: getconf.c
src/lib/librt: shm.c
Add shm_open(3) and shm_unlink(3) to support POSIX shared memory objects.
They are implemented using tmpfs (mounted at /var/shm).
Discussed on tech-{kern,userlevel} (quite a while ago).
does this (and the relevant sysinst commit) mean that we provide
a different set of functionality depending on the amount of memory?
i don't think it's a good idea. poor performance on poor system
is ok. but the lack of functionality is confusing.
IMO the fstype check should be removed. (and probably make cleartmp
clean /var/shm as well.)
YAMAMOTO Takashi
cvs rdiff -u -r1.35 -r1.36 src/lib/libc/gen/sysconf.c
cvs rdiff -u -r1.16 -r1.17 src/lib/librt/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/librt/shm.c
cvs rdiff -u -r1.44 -r1.45 src/sys/sys/mman.h
cvs rdiff -u -r1.54 -r1.55 src/sys/sys/unistd.h
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/getconf/getconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
cvs rdiff -u -r1.16 -r1.17 src/lib/librt/Makefile
cvs rdiff -u -r0 -r1.1 src/lib/librt/shm.c
cvs rdiff -u -r1.44 -r1.45 src/sys/sys/mman.h
cvs rdiff -u -r1.54 -r1.55 src/sys/sys/unistd.h
cvs rdiff -u -r1.34 -r1.35 src/usr.bin/getconf/getconf.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.