DragonFly commits List (threaded) for 2006-05
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
cvs commit: src/sys/conf files src/sys/kern init_main.c kern_acct.c kern_exit.c kern_fork.c kern_plimit.c kern_resource.c kern_synch.c syscalls.master src/sys/sys kern_syscall.h proc.h resourcevar.h
dillon 2006/05/23 13:35:12 PDT
DragonFly src repository
Modified files:
sys/conf files
sys/kern init_main.c kern_acct.c kern_exit.c
kern_fork.c kern_resource.c kern_synch.c
syscalls.master
sys/sys kern_syscall.h proc.h resourcevar.h
Added files:
sys/kern kern_plimit.c
Log:
Move all the resource limit handling code into a new file, kern/kern_plimit.c.
Add spinlocks for access, and mark getrlimit and setrlimit as being MPSAFE.
Document how LWPs will have to be handled - basically we will have to unshare
the resource structure once we start allowing multiple LWPs per process, but
we can otherwise leave it in the proc structure.
Revision Changes Path
1.125 +1 -0 src/sys/conf/files
1.54 +2 -15 src/sys/kern/init_main.c
1.24 +4 -6 src/sys/kern/kern_acct.c
1.55 +1 -4 src/sys/kern/kern_exit.c
1.48 +1 -13 src/sys/kern/kern_fork.c
1.26 +0 -144 src/sys/kern/kern_resource.c
1.60 +11 -14 src/sys/kern/kern_synch.c
1.33 +2 -2 src/sys/kern/syscalls.master
1.31 +1 -0 src/sys/sys/kern_syscall.h
1.76 +2 -0 src/sys/sys/proc.h
1.13 +16 -3 src/sys/sys/resourcevar.h
http://www.dragonflybsd.org/cvsweb/src/sys/conf/files.diff?r1=1.124&r2=1.125&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/init_main.c.diff?r1=1.53&r2=1.54&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_acct.c.diff?r1=1.23&r2=1.24&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_exit.c.diff?r1=1.54&r2=1.55&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_fork.c.diff?r1=1.47&r2=1.48&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_resource.c.diff?r1=1.25&r2=1.26&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/kern_synch.c.diff?r1=1.59&r2=1.60&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/kern/syscalls.master.diff?r1=1.32&r2=1.33&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/kern_syscall.h.diff?r1=1.30&r2=1.31&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/proc.h.diff?r1=1.75&r2=1.76&f=u
http://www.dragonflybsd.org/cvsweb/src/sys/sys/resourcevar.h.diff?r1=1.12&r2=1.13&f=u
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]