tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: src



hi,

> Module Name:  src
> Committed By: rmind
> Date:         Thu Dec 19 19:11:50 UTC 2013
> 
> Modified Files:
>       src/lib/libc/gen: sysconf.c
>       src/lib/librt: Makefile
>       src/sys/sys: mman.h unistd.h
>       src/usr.bin/getconf: getconf.c
> Added Files:
>       src/lib/librt: shm.c
> 
> Log Message:
> 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.

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

> 
> 
> To generate a diff of this commit:
> 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.
> 
> 


Home | Main Index | Thread Index | Old Index