From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,260d88b0692fc907 X-Google-Attributes: gid1164f8,public From: tsh@mrc-lmb.cam.ac.uk (T. Horsnell (tsh)) Subject: Re: vfork on Dec Alpha buggy? Date: 1996/12/19 Message-ID: <59b6ji$nlj@lyra.csx.cam.ac.uk>#1/1 X-Deja-AN: 204892922 references: <32B819A2.111F@sensor.com> <32B887CB.41C6@qntm.com> organization: MRC Laboratory of Molecular Biology, Cambridge UK newsgroups: comp.sys.dec In article <32B887CB.41C6@qntm.com> Pierre Asselin writes: >Ron Natalie wrote: >>[summary of why vfork() was added to BSD, why copy-on-write >> obsoletes the original motivation, and why swap allocation >> makes one want a vfork() after all.] > >> Fortunately, on the DEC you can get around this by turning >> on lazy swap allocation (see the description of /etc/swapdefauts >> in the swapon man page). However, much as I detest kludges, >> I wish DEC would have left VFORK well enough alone. > >I second your wish! > >Lazy swap allocation is also a kludge. Programs can allocate >memory up to the virtual address limits; it's only when the >memory is used that processes start to die because there isn't >enough disk to back up the virtual memory. > >Kludge for kludge, I prefer vfork. > I find lazy swap very handy, except that since V4.0 it seems to have taken to throwing out root-owned processes (like inetd and xlogin) when trying to make swap space in a filled swap area. Not very helpful... Terry Horsnell MRC Cambridge U.K. tsh@mrc-lmb.cam.ac.uk