haiku/headers/private
Augustin Cavalier 0d7d1fccff libroot: Implement the general case of posix_spawn using load_image.
The goal here is to avoid potentially expensive fork()ing.

The time for a fork() is (for a process with no real heap usage
and thus few areas) 300-400us on my system. load_image() takes
3000us (3ms) or so, but this of course includes exec() time.

Overall, for compiling HaikuDepot (with a tweaked jam to use
posix_spawn on Haiku, not just on Linux) there is a slight
decrease in time:

before:
real 1m21.727s
user 1m2.131s
sys  0m43.029s

after:
real 1m19.472s
user 1m1.752s
sys  0m41.740s

Which is probably within the realm of "noise", so more benchmarks
are needed. Likely if we tweak our jam usage to not need as many
shells when running commands, this would be a much more noticeable
change.

Change-Id: I217f2476b1ed9aa18322b3c2bc8986571d89549a
2020-05-30 01:19:48 -04:00
..
app RosterPrivate: add IsShutDownInProgress() 2019-12-21 20:32:31 +00:00
audio audio: Move hmulti_audio driver API to private audio headers 2018-10-23 16:33:19 +02:00
binary_compatibility
bluetooth bluetooth: remove DEBUG definition. 2016-06-05 18:55:44 +02:00
debug
debugger Add (void*) casts to memcpy/memset invocations to appease GCC 8. 2019-05-24 14:21:37 -04:00
device acpi_battery: support for _BIX method. 2020-03-10 13:14:09 +00:00
drivers smbios: add module to match SMBios vendor and product 2020-04-27 07:38:40 +00:00
file_systems fs_shell: Prevent inclusion of BSD headers; fix DeviceOpener. 2020-05-10 12:44:46 -04:00
firewire Minor tweaks to fix the build after the last commit. 2019-03-26 20:06:09 -04:00
fs_shell fixed btrfs_shell 2019-10-08 18:57:27 +02:00
graphics AreaKeeper.h: move to headers/private/kernel 2020-03-23 16:38:01 +00:00
i2c i2c: add acquire_bus/release_bus hooks 2020-04-12 16:55:52 +00:00
index_server
input Live update of Input preferences device list 2020-01-25 11:58:48 +00:00
interface IK: Update scroll bars for alternative control look 2020-04-11 16:57:54 +00:00
kernel kernel/vm: Introduce and use VMAddressSpace::AreaRangeIterator. 2020-05-30 02:29:41 +00:00
libroot libroot: Implement the general case of posix_spawn using load_image. 2020-05-30 01:19:48 -04:00
locale Fix instanciate_catalog prototype 2015-01-17 17:02:40 +01:00
mail build: Cleanup of libgnuregex usage. 2018-03-07 18:04:31 -05:00
media Fix clang warning "mismatched-tags" 2020-03-23 01:30:23 +00:00
midi Midi: Remove some duplicated code 2015-08-27 11:51:57 +02:00
mount
net Fix clang warning "mismatched-tags" 2020-03-23 01:30:23 +00:00
notification Notification_Server: Added ability to choose position of notifications 2017-12-24 12:02:38 +01:00
package kit/package: Error on short file read 2019-08-05 15:07:24 +00:00
preferences Fix glitch in Screen prefs when changing background color. 2017-04-30 10:29:39 +02:00
print PictureIterator.h: fix header guard spelling 2016-07-10 17:11:20 +02:00
runtime_loader libroot: make API version available. 2019-09-13 13:38:08 +00:00
screen_saver ScreenSaver: Rename BuildScreenSaverDefaultSettingsView 2016-04-13 15:50:30 -07:00
shared Remove GPL-licensed implementation of MD5 2020-05-17 19:06:59 +02:00
storage s/OpenBeOS License/MIT License/ universally, as they're the same thing. 2017-02-09 22:09:56 -05:00
support Add ZstdCompressionAlgorithm. 2017-11-24 21:35:49 +01:00
syslog_daemon syslog_daemon: Converted to BServer. 2015-07-22 20:40:47 +02:00
system Revert "kernel: Remove the B_KERNEL_AREA protection flag." 2020-05-30 01:47:40 +00:00
textencoding
tracker Tracker FindPanel: Make a copy of fDeviceIcon 2016-07-31 19:42:39 -07:00
usb_vision
userlandfs Relicense all of Ingo's BSD/MIT+advertising clause'd code as plain MIT. 2019-08-30 18:27:35 -04:00
virtio virtio: add clear_feature hook. 2020-03-21 17:16:45 +00:00
vmdk
wmi wmi: add ACPI WMI implementation 2020-04-20 14:56:59 +00:00