home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!warwick!uknet!edcastle!dcs.ed.ac.uk!sct
- From: sct@dcs.ed.ac.uk (Stephen Tweedie)
- Newsgroups: comp.os.linux
- Subject: Re: Creeping featursm (Was: Re: ANNOUNCE: linux-0.99 patchlevel 3)
- Message-ID: <SCT.93Jan21162633@carna.dcs.ed.ac.uk>
- Date: 21 Jan 93 16:26:33 GMT
- References: <1993Jan14.154308.2640@oucsace.cs.ohiou.edu>
- <1993Jan14.172817.7750@aston.ac.uk> <jeremy.727514644@chao>
- Sender: cnews@dcs.ed.ac.uk (UseNet News Admin)
- Organization: University of Edinburgh Dept. of Computer Science, Scotland
- Lines: 37
- In-Reply-To: jeremy@sw.oz.au's message of 20 Jan 93 07:24:04 GMT
-
- In article <jeremy.727514644@chao>, jeremy@sw.oz.au (Jeremy Fitzhardinge) writes:
- > I have no objection to things being added to Linux if they are useful,
- > but System V-type IPC are not the way to go - they are BAD. The main
- > problem is that they use a completely different set of access methods
- > and name space to everything else in the unix kernel. Because they
- > have very little common overlap with existing code, there is a higher
- > chance of bugs, and a disproportionate amount of extra code for the
- > extra functionality.
-
- > I would suggest that mmap() type shared memory should be implemented.
- > This is where a file gets mapped into a process's address space.
- > All the processes mapping the same file get the same memory pages in
- > their address spaces. The mappings can be set up so modifications to
- > the mapped pages can either be shared or private.
-
- I agree with you from the "operating systems philosophy" point of
- view. Unfortunately, compatibility and performance are also issues.
- We currently DO have SYSV-IPC as a kernel option; there is too much
- software out there using these facilities to give them up.
-
- IF we can implement SYSV-IPC in an efficient and totally
- user-transparent way by building library calls on top of shared
- memory, then that will be a reasonable way to go. If not, then I
- don't think we should strip the existing code from the kernel; it is
- too useful, even if ugly. We can always make it a kernel
- configuration option.
-
- However, that does not mean that mmap() for normal files is not worth
- while. It would be a clean and useful extension to the kernel. I
- just don't think we should throw away compatibility for the sake of
- aesthetics.
-
- Cheers,
- Stephen Tweedie.
- ---
- Stephen Tweedie <sct@uk.ac.ed.dcs> (Internet: <sct@dcs.ed.ac.uk>)
- Department of Computer Science, Edinburgh University, Scotland.
-