You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: Unnecessary alloc usage from patina_internal_cpu #1405
Current patina_internal_cpu has consumed the alloc module for various functionalities, i.e. setting up the services to forward the interrupt event to a component, leak the PatinaPageTable object into a box for further usage.
This unnecessarily pulled in alloc as dependency for fundamental functionalities, such as basic interrupt manager that sets up IDT and programs the IDTr.
Expected Behavior
The functionalities that requires alloc or global allocator should be guarded behind "alloc" feature flag.
Steps To Reproduce
Try building patina_internal_cpu without providing global allocator, the build will fail even without alloc flag.
Activity
kuqin12 commentedon Mar 26, 2026
Resolved by #1423