Hi Stefano,
On 14/10/2022 00:55, Stefano Stabellini wrote:
On Thu, 13 Oct 2022, Henry Wang wrote:
With the P2M pages pool bounding the domain memory runtime allocation
and the documented minimal size requirement of the static heap, it is
safe to mark static heap feature as supported.
Usually we wait at least one release cycle before marking a feature as
supported. However, I can see that this case is a bit different because
effectively static heap memory is a safety/security feature.
Even with patch #1 merged, we are still missing some information on how
to size the heap. But see below...
Julien, Bertrand, I'll let you know decide on this one
It doesn't seem to make sense to security support the static heap when
allocating statically memory for domains are still in tech preview.
That's because if you want to have your system security supported, then
you will need all the allocations to come from the heap. At which point,
restricting the heap seems pointless.
So I think it would be better to wait until the static memory is fully
supported.
Cheers,
--
Julien Grall