Review request for 5049299 (original) (raw)
Michael McMahon Michael.McMahon at Sun.COM
Tue Jun 2 14:29:17 UTC 2009
- Previous message: Review request for 5049299
- Next message: Review request for 5049299
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Martin,
I had done something similar with clone & exec for Linux, but hadn't got round to testing it. So, it seems reasonable to take yours. Do you want to send me your updated versions of process_md.c and the test? I can take care of the merge with the Solaris code.
Thanks, Michael.
Martin Buchholz wrote:
I've been working on clone+exec. I now have a perhaps-ready-for-prime-time implementation that appears to fix the problem on Linux and also includes some new tests for script invocation
http://cr.openjdk.java.net/~martin/clone-exec <http://cr.openjdk.java.net/%7Emartin/clone-exec> This change conflicts with Michael's changes for Solaris. We'll have to work something out. My changes are designed to have no effect on Solaris, but I have done zero testing there. Martin On Sat, May 30, 2009 at 10:51, Martin Buchholz <martinrb at google.com_ _<mailto:martinrb at google.com>> wrote: I have a prototype implementation that works only for Linux, only when the environment is inherited, but seems to show that the clone/fork approach works. The main idea is that passing these flags: CLONEVM | SIGCHLD to clone() appears to work. Passing CLONEVFORK in addition also seems to work, and may be more reliable. Michael, we will need to coordinate to come up with something that will work for all our Unices. Martin
- Previous message: Review request for 5049299
- Next message: Review request for 5049299
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]