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

CVS: cvs.openbsd.org: src



CVSROOT:	/cvs
Module name:	src
Changes by:	blambert_(_at_)_cvs_(_dot_)_openbsd_(_dot_)_org	2008/05/02 08:07:15

Modified files:
	sys/kern       : kern_kthread.c 

Log message:
Pass FORK_SHAREFILES flag in kthread_create; avoids allocating a
filedesc struct and associated fdcopy operation on kernel thread
creation. Instead, kernel threads share and bump reference count
on proc0's filedesc.

ok thib@, "definitely makes sense" art@



Visit your host, monkey.org