Re: exec and bzip2

2009-04-02 Thread Samuel Thibault
Roland McGrath, le Thu 02 Apr 2009 16:22:24 -0700, a écrit : > > I am just wondering: why are faults a problem? The bug I'm seeing seems > > to happen when there is memory pressure and I guess gnumach trying to > > drop pages. But since exec doesn't seem to use its own pager, shouldn't > > the us

Re: exec and bzip2

2009-04-02 Thread Roland McGrath
> Ok, so I was right in thinking that maybe I could just disable them. Yes, if people are not using individually compressed binaries for booting these days. > I am just wondering: why are faults a problem? The bug I'm seeing seems > to happen when there is memory pressure and I guess gnumach try

Re: exec and bzip2

2009-04-02 Thread Samuel Thibault
Roland McGrath, le Wed 01 Apr 2009 16:49:03 -0700, a écrit : > A few notes. Thanks! > The gzip/bzip2 hack in exec was really never intended for general use. > It's only there for bootstrap exec to be able to use it. Ok, so I was right in thinking that maybe I could just disable them. > The XXX/

Re: exec and bzip2

2009-04-01 Thread Roland McGrath
A few notes. I'll leave it to you how to put them all together. The gzip/bzip2 hack in exec was really never intended for general use. It's only there for bootstrap exec to be able to use it. For normal use, you really want a proper decompression translator that is smarter about memory use and d

exec and bzip2

2009-03-30 Thread Samuel Thibault
Hello Roland, You knew we'd be bitten by the bug someday, and that's today. From exec/exec.c: /* XXX all accesses of the mapped data need to use fault handling to abort the RPC when mapped file data generates bad page faults. I've marked some accesses with XXX/fault comments. --roland