[haiku-bugs] Re: [Haiku] #16610: app_server: crash when running application from another user
- From: "Haiku" <trac@xxxxxxxxxxxx>
- To: undisclosed-recipients: ;
- Date: Thu, 19 Nov 2020 22:38:54 -0000
#16610: app_server: crash when running application from another user
---------------------------------+----------------------------
Reporter: X512 | Owner: axeld
Type: bug | Status: new
Priority: normal | Milestone: Unscheduled
Component: Servers/app_server | Version: R1/Development
Resolution: | Keywords:
Blocked By: | Blocking:
Platform: All |
---------------------------------+----------------------------
Comment (by X512):
Will these be the only resources that are separated?
Common `registrar` resources:
1. User database.
2. MIME processing.
3. Shutdown processing.
4. Session management (not implemented).
3. Timers (move to `libbe.so`?).
Per-session resources:
1. Running applications table. Note that some applications should be
inherited from root session like `app_server` and `input_server`. libbe.so
interacts with input_server by it's signature.
2. Clipboard.
It is also worth noting that app_server has a lot of caches, e.g. Alpha
Mask cache, font cache, etc. With multiple active sessions, performance
could become degraded for all because the caches get filled faster.
This argument is working in opposite direction because different sessions
will likely use same fonts and single process will give cache benefits.
Multiple processes will have duplicate cache entries that will waste
memory and slow down access.
--
Ticket URL: <
https://dev.haiku-os.org/ticket/16610#comment:14>
Haiku <
https://dev.haiku-os.org>
The Haiku operating system.
Other related posts: