[haiku-bugs] Re: [Haiku] #16106: [kernel] vfork: Out of memory when building haiku with plenty of RAM

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Sun, 24 May 2020 14:53:37 -0000

#16106: [kernel] vfork: Out of memory when building haiku with plenty of RAM
----------------------------+----------------------------
  Reporter:  diver          |      Owner:  nobody
      Type:  bug            |     Status:  new
  Priority:  normal         |  Milestone:  Unscheduled
 Component:  System/Kernel  |    Version:  R1/Development
Resolution:                 |   Keywords:
Blocked By:                 |   Blocking:
  Platform:  All            |
----------------------------+----------------------------
Comment (by pulkomandy):

 Not really.

 - posix_spawn creates a child process, I think load_image creates an
 independant process.
 - posix_spawn allows to keep open file descriptors for the child process,
 load_image doesn't
 - posix_spawn can change process group, signal mask, and a few other
 things for the newly created team, which can't be done with load_image.

 They could maybe be implemented using some shared code and common
 syscalls, but it's not as simple as one calling the other.
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/16106#comment:11>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: