From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f4671,b1738035b01d4980 X-Google-Attributes: gidf4671,public X-Google-Thread: 1164f8,b1738035b01d4980 X-Google-Attributes: gid1164f8,public X-Google-Thread: 11035d,b1738035b01d4980 X-Google-Attributes: gid11035d,public From: skappel@SPAM-THIS.com (Steve Kappel) Subject: Re: Why not Solaris on Alpha? Date: 1997/06/20 Message-ID: <33aa82b7.0@nntp1.nac.net>#1/1 X-Deja-AN: 251332218 References: <5mrt16$eo3@percy.cs.bham.ac.uk> <339EC070.390D@brussels.lhs.be> <5nn2j5$12h@cucumber.demon.co.uk> <339F9F56.1E4D4CFD@lehman.com> <5o8r6m$ner@ktel.osc.edu> <5o9ehl$8np@cocoa.brown.edu> <5ocp2t$r6v$1@news.latrobe.edu.au> Organization: Me & Myself Newsgroups: comp.unix.solaris,comp.sys.sun.hardware,comp.sys.dec In article <5ocp2t$r6v$1@news.latrobe.edu.au>, cchd@lucifer.its.latrobe.edu.au (Huw Davies) writes: >R!ch (richardt@clem) wrote: >: On 18 Jun 1997, Keith Adams wrote: > >: > Rather than just bumping the bit-ness further, and increasing >: > exponentially the difficulty and cost of actually building such a chip, >: > it would make more sense to do what the beloved 8086 did; ie, have >: > memory addressed by more than one word. > >: Beloved by whom? I've always thought it was a crock-o-shite. > >: A segmented architecture is one of the most stupidest ideas in >: CPU design, IMHO. Give me a flat addressing space any day. > >Well, there are real advantages in segmented addressing, if it's done >properly. Take a model with say 512 segments each with 64bit addresses >(the design for AXP+ maybe :-). Then it's really easy to implement things >like stacks which have different properties to code or data. > >Create a new segment for the stack, rather than allocating a chunk of data >space and treating it specially leads to better reliability - in >particular, stack overflow (apart from taking a long time :-) can't destroy >code or data. You don't need segments to do that. All you have to do is mark the page following the stack (in which ever direction it grows) as having no access; then you get a fault when touching it (commonly called "red zoning"). Pretty common in modern OSes. I suppose segments would have the minor advantage in cases where stack access happens more than 1 page away. -- ______________________________________________________________________ Steve Kappel steve.kappel@iname.com http://www.visi.com/~skappel PGP fingerprint = AC 9F BF 6C 45 DB 58 DA B6 A6 02 A4 29 AC D5 05