Re: [Xen-devel] [PATCH 10/27] xen: make sure swiotlb allocationisphysically contigious

From: Jeremy Fitzhardinge
Date: Mon Mar 16 2009 - 15:37:54 EST


Jan Beulich wrote:
While on native using alloc_bootmem_low_pages() is a requirement here,
on Xen this should explicitly not be used, as we realized just a couple of
days ago:

Which conversation was this?

The way the bootmem allocator works, running out of space
below 4Gb is pretty easy on machines with lots of memory, and since the
swiotlb is a requirement for Dom0, the risk of allocation failures must be
kept as low as possible.

Are we talking about a 32 or 64 bit dom0 here? If its 32-bit, then yes, low memory is a precious resource, but I don't see why that depends on the total amount of memory. And if its 64-bit, why is below-4G particularly constrained? That would only matter for 32-bit devices?

J
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/