xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* regression from -unstable c/s 21812:e382656e4dcc (noticed in 4.0.1)
@ 2010-12-13  9:18 Jan Beulich
  2010-12-13  9:29 ` Keir Fraser
  0 siblings, 1 reply; 2+ messages in thread
From: Jan Beulich @ 2010-12-13  9:18 UTC (permalink / raw)
  To: Keir Fraser; +Cc: xen-devel@lists.xensource.com

Keir,

without the use of dom0_mem= reserving sufficiently much memory,
this change causes a regression as the calculation of the Dom0
allocation doesn't account for the memory consumed by
iommu_dom0_init(). With enough memory in the system, this may
run Xen out of memory altogether, in particular preventing Dom0
from setting up its swiotlb (and pointing out lack of error handling,
as it's very unlikely for hd->platform_ops->dom0_init() to have
succeeded when afterwards there's not a single page left available).

To me it's not immediately clear what the best fix for this problem
is: Either there needs to be another hook into iommu code to
pre-calculate the memory needs, or the !strict case needs to be
handled earlier again (under [questionable] the assumption that
someone forcing strict mode will know to also pass a suitable
dom0_mem=).

Thanks, Jan

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2010-12-13  9:29 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-12-13  9:18 regression from -unstable c/s 21812:e382656e4dcc (noticed in 4.0.1) Jan Beulich
2010-12-13  9:29 ` Keir Fraser

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).