summaryrefslogtreecommitdiff
path: root/open_issues/performance/fork.mdwn
blob: 5ceb6455c12d39f6f51a881217b4c35aef8417fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
[[!meta copyright="Copyright © 2010, 2011 Free Software Foundation, Inc."]]

[[!meta license="""[[!toggle id="license" text="GFDL 1.2+"]][[!toggleable
id="license" text="Permission is granted to copy, distribute and/or modify this
document under the terms of the GNU Free Documentation License, Version 1.2 or
any later version published by the Free Software Foundation; with no Invariant
Sections, no Front-Cover Texts, and no Back-Cover Texts.  A copy of the license
is included in the section entitled [[GNU Free Documentation
License|/fdl]]."]]"""]]

[[!tag open_issue_glibc open_issue_hurd]]

Our [[`fork` implementation|glibc/fork]] is nontrivial.

To do: hard numbers.
[[Microbenchmarks]]?


# Windows / Cygwin

  * <http://www.google.com/search?q=cygwin+fork>

  * <http://www.redhat.com/support/wpapers/cygnus/cygnus_cygwin/architecture.html>

    In particular, *5.6. Process Creation*.

  * <http://archive.gamedev.net/community/forums/topic.asp?topic_id=360290>

  * <http://cygwin.com/cgi-bin/cvsweb.cgi/src/winsup/cygwin/how-cygheap-works.txt?cvsroot=src>

    > Cygwin has recently adopted something called the "cygwin heap".  This is
    > an internal heap that is inherited by forked/execed children.  It
    > consists of process specific information that should be inherited.  So
    > things like the file descriptor table, the current working directory, and
    > the chroot value live there.

  * <http://www.perlmonks.org/?node_id=588994>