> -----Original Message----- > From: p...@xen.org <p...@xen.org> > Sent: 09 March 2020 09:35 > To: xen-devel@lists.xenproject.org > Cc: Durrant, Paul <pdurr...@amazon.co.uk>; Paul Durrant <p...@xen.org>; > Stefano Stabellini > <sstabell...@kernel.org>; Julien Grall <jul...@xen.org>; Volodymyr Babchuk > <volodymyr_babc...@epam.com>; Andrew Cooper <andrew.coop...@citrix.com>; > George Dunlap > <george.dun...@citrix.com>; Ian Jackson <ian.jack...@eu.citrix.com>; Jan > Beulich <jbeul...@suse.com>; > Konrad Rzeszutek Wilk <konrad.w...@oracle.com>; Wei Liu <w...@xen.org> > Subject: [PATCH v4 6/6] domain: use PGC_extra domheap page for shared_info > > From: Paul Durrant <pdurr...@amazon.com> > > Currently shared_info is a shared xenheap page but shared xenheap pages > complicate future plans for live-update of Xen so it is desirable to, > where possible, not use them [1]. This patch therefore converts shared_info > into a PGC_extra domheap page. This does entail freeing shared_info during > domain_relinquish_resources() rather than domain_destroy() so care is > needed to avoid de-referencing a NULL shared_info pointer hence some > extra checks of 'is_dying' are needed. > > NOTE: For Arm, the call to free_shared_info() in arch_domain_destroy() is > left in place since it is idempotent and called in the error path for > arch_domain_create(). > > [1] See > https://lists.xenproject.org/archives/html/xen-devel/2020-02/msg02018.html > > Signed-off-by: Paul Durrant <p...@xen.org>
I realise I forgot to fold in the new dump function for shared_info (needed since it will no longer feature in the dump of xen pages) so I will send a v5 of this series shortly. Paul _______________________________________________ Xen-devel mailing list Xen-devel@lists.xenproject.org https://lists.xenproject.org/mailman/listinfo/xen-devel