This website requires JavaScript.
Explore
Help
Sign In
ExternalVendorCode
/
genode
Watch
1
Star
0
Fork
0
You've already forked genode
mirror of
https://github.com/genodelabs/genode.git
synced
2024-12-22 23:12:24 +00:00
Code
Issues
Actions
Packages
Projects
Releases
Wiki
Activity
e0fe046ad3
genode
/
repos
/
libports
/
ports
/
mesa.hash
2 lines
41 B
Plaintext
Raw
Normal View
History
Unescape
Escape
mesa: generalize binder memory management This patch was back ported from upstream Mesa and generalizes the memory management of buffer objects used by the binder. Before this patch the binder was treated as a special case where buffer objects were allocated with a simple "next block or wrap" allocator. With this commit the binder now uses the vm_heap allocators as done by all other buffer allocations which leads to issues with reference counting and object destruction being resolved. Original commit message: We're moving towards a path where all contexts share the same virtual memory - because this will make implementing vm_bind much easier - , and to achieve that we need to rework the binder memzone. As it is, different contexts will choose overlapping addresses. So in this patch we adjust the Binder to be 1GB - per Ken's suggestion - and use a real vma_heap for it. As a bonus the code gets simpler since it just reuses the same pattern we already have for the other memzones.
2024-02-26 07:17:43 +00:00
ef717b035d6a41d9921589756bbc30f07f0bf515
Reference in New Issue
Copy Permalink