From mboxrd@z Thu Jan 1 00:00:00 1970 From: Linus Torvalds To: "boyd, rounin" Cc: 9fans@cse.psu.edu Subject: Re: [9fans] Re: Threads: Sewing badges of honor onto a Kernel In-Reply-To: <01e201c3fd0c$5df8d7d0$0b00a8c0@SOMA> Message-ID: References: <01e201c3fd0c$5df8d7d0$0b00a8c0@SOMA> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Date: Fri, 27 Feb 2004 01:52:51 -0800 Topicbox-Message-UUID: fef2f2b4-eacc-11e9-9e20-41e7f4b1d025 On Fri, 27 Feb 2004, boyd, rounin wrote: > > > The bits you can control the context copy with are: > > what? only ~20. surely you need some more? So far, no. It's been growing over the years, but not quickly. Realize that you don't want to even control this with a very fine granularity. Every single new thing that you allow being copied or shared ends up being more state that you have to reference-count and keep track of. You want to have as little as possible of that kind of state. So keep them to big fundamental things. The VM. The file table. The signal state. The namespace. (And those f*ing horrible SysV IPC things). Splitting it up more would just hurt. Just out of interest, what else could you possibly want, and why? After all, it's not like the kernel keeps track of all that much else than VM, files and signals. Linus