Date: Wed, 9 Oct 2002 15:33:34 -0700 From: Jon Mini <mini@freebsd.org> To: Julian Elischer <julian@elischer.org> Cc: Igor Sysoev <is@rambler-co.ru>, arch@FreeBSD.ORG Subject: Re: Scheduler framework. Message-ID: <20021009223333.GH30246@elvis.mu.org> In-Reply-To: <Pine.BSF.4.21.0210091001270.37238-100000@InterJet.elischer.org> References: <Pine.BSF.4.21.0210092030210.86137-100000@is> <Pine.BSF.4.21.0210091001270.37238-100000@InterJet.elischer.org>
next in thread | previous in thread | raw e-mail | index | archive | help
Julian Elischer [julian@elischer.org] wrote : > > Sorry, where did this second thread come from ? > > there is a thread_allocator that allocates threads on demand. > > Actually the process ahs a couple of spare threads "Up its sleave" > so it doesn't have to go to teh thread allocator every time.. I know Jeff asked in an earlier message "why do this? Isn't that why we have UMA?" The short answer is that we can't allocate from within the scheduler, because if a page is allocated from the VM to fill another slab, we run into locking problems. -- Jonathan Mini <mini@freebsd.org> http://www.freebsd.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021009223333.GH30246>