On 27.07.17 13:56, Julien Grall wrote:
Let's rephrase it differently. Is the reserved memory always RAM or
could it be other things?
I think this have to be checked with the DT spec to have an answer.
Well, if your region is cacheable it might be possible to have some
data left in the cache after the domain destruction.
If you start a domain afterwards, it may be able to read data that
belonged to the previous domain. Hence data leak.
All region of page allocated by the memory allocator in Xen will be
clean and invalidate to prevent such leak. This will not be the case
for reserved memory as this will not be managed by the memory allocator.
So that is the question to the reserved-memory support design. And
should be considered during the choosing the approach (manage it with
existing allocator, or implement something aside)
--
*Andrii Anisov*
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
https://lists.xen.org/xen-devel