Files
haiku-beta6/src
Augustin Cavalier 61eed15db9 kernel/socket: Refactor {get|put}_stack_interface_module and keep it loaded.
* Make the consumer-count int32 atomic, avoiding the need for
   all get/put operations to go through a global lock.

 * Disable the code that unloads the stack interface when there
   are no consumers. Otherwise, we wind up repeatedly loading/
   unloading the stack interface during the boot process (e.g.
   while sockets are being created and destroyed during net_server
   startup.)

   In the future, if we want to really unload it, we can add some
   interaction with low_resource_monitor or something like that.

Reduces register_domain call count during boot from 31 to 7
(it appears the stack was loaded and unloaded 5 times, before
it stayed loaded the 6th.)
2024-05-27 19:45:57 -04:00
..
2024-04-05 15:27:32 -04:00
2024-05-02 18:07:23 +00:00
2024-05-02 18:07:23 +00:00
2024-04-05 19:30:18 +00:00