From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cbb9,affa3c18af33ae87 X-Google-Attributes: gid10cbb9,public X-Google-Thread: 106bff,affa3c18af33ae87 X-Google-Attributes: gid106bff,public X-Google-Thread: f678f,affa3c18af33ae87 X-Google-Attributes: gidf678f,public X-Google-Thread: f7d63,affa3c18af33ae87 X-Google-Attributes: gidf7d63,public X-Google-Thread: 1035b6,affa3c18af33ae87 X-Google-Attributes: gid1035b6,public X-Google-Thread: 10f7da,affa3c18af33ae87 X-Google-Attributes: gid10f7da,public X-Google-Thread: fed41,affa3c18af33ae87 X-Google-Attributes: gidfed41,public X-Google-Thread: f9256,affa3c18af33ae87 X-Google-Attributes: gidf9256,public From: Ryan Tokarek Subject: Re: Apple Mach IS NOT a microkernel!!!!! Date: 1997/02/21 Message-ID: #1/1 X-Deja-AN: 220563448 References: <5ebg1m$1en@news3.digex.net> X-Sender: tokarek@ux5.cso.uiuc.edu Content-Type: TEXT/PLAIN; charset=US-ASCII Organization: University of Illinois at Urbana Mime-Version: 1.0 Newsgroups: comp.sys.mac.advocacy,comp.sys.mac.programmer.misc,comp.sys.powerpc.advocacy,comp.sys.next.advocacy,comp.sys.next.programmer,comp.sys.next.misc,comp.unix.machten,comp.unix.osf.misc,comp.os.mach,comp.os.ms-windows.nt.advocacy On 22 Feb 1997, Gary W. Longsine wrote: > In it appeared that Joaquin > Menchaca wrote: > > In article , shess@one.net (Scott > > Hess) wrote: > > > > > > > This is very well said. That was my original concern about the decision > > about using a monolithic kernel from NeXTSTEP (OPENSTEP for Mach). I > > think technically this is a mistake. It may be outrageous to say this, > > but I think NuKernel of Copland is a better choice as it combines the best > > of Apple with the best of NeXT (OPENSTEP). > > Then you haven't got a clue. NuKernel should have been scrapped before > a single line of code was written. Protected memory, but only for certain, > "special" processes? What a crock of sh*t. No, no. You haven't a clue. _Every_ process was to be protected under Copland with NuKernel. The collection of tasks that ran as one large task (the compatibility box) and was run internally with cooperative multitasking was protected (CMT because of the continued use of a non-reentran GUI). No OS task nor any other task could read from or write to anything in the compatibility box. (The plan for Copland was to be much like Windows95... it was to be an interim OS to get users up to a level so that a major OS transition could take place with a relative minimum of fuss that the user would have to go through... their goal was too hard to implement in a timely fashion it seems.) Because Apple wished to retain backwards compatibility with System 7 applications, because Apple didn't want to make the GUI reentrant at the time, and because older apps expected a flat memory model, Apple decided to go with a compatibility box. This was to be one large segment of protected memory that ran the GUI and applications that required the use of the GUI (System 7 and the main portions of Mac OS 8 apps). The tasks running inside the compatibility box were to have very limited memory protection from each other (all code would have been protected). This was because, to the kernel, the compatibility box was just one task, one segment of protected memory. NuKernel had full protected memory with preemptive multitasking and SMP for all tasks. People only call it partial protected memory and PMT because of issues with the internals of the compatibility box. I'm not really defending Apple. They fiddled and diddled with Copland too long, but their problems were not with the kernel... they had problems implementing backwards compatibility in that fashion. As far as I know, there was nothing in particular that was wrong with NuKernel (except prehaps that it wasn't as well tested like Mach 2.5 has been). You were mistaken. Ryan Tokarek