mirror of
https://github.com/genodelabs/genode.git
synced 2025-03-03 21:20:41 +00:00
The platform driver uses a 'Constrained_ram_allocator' to allocate meta-data on behave of a client. It uses the PD session as 'Ram_allocator' back end that in return is implemented via the 'Expanding_pd_session_client'. Whenever the PD client itselft comes into resource shortage it will ask its parent unconditionally. However, depending on the integration, such a request may be left unanswered. This commit introduces a check to prevent that situation from occurring. In case the platform driver notices the resource shortage it will reflect that back to the client. Issue #4284.