diff options
author | 2011-07-22 12:46:43 -0400 | |
---|---|---|
committer | 2011-08-26 12:10:15 -0400 | |
commit | f4b2f07b2ed9b469ead87e06fc2fc3d12663a725 (patch) | |
tree | 242eca67acfa3e53b698a92031d4e8ec928f9b7f /tools/perf/scripts/python/export-to-postgresql.py | |
parent | xen-pcifront: Update warning comment to use 'e820_host' option. (diff) | |
download | linux-dev-f4b2f07b2ed9b469ead87e06fc2fc3d12663a725.tar.xz linux-dev-f4b2f07b2ed9b469ead87e06fc2fc3d12663a725.zip |
xen-swiotlb: Retry up three times to allocate Xen-SWIOTLB
We can fail seting up Xen-SWIOTLB if:
- The host does not have enough contiguous DMA32 memory available
(can happen on a machine that has fragmented memory from starting,
stopping many guests).
- Not enough low memory (almost never happens).
We retry allocating and exchanging the swath of contiguous memory
up to three times. Each time we decrease the amount we need - the
minimum being of 2MB.
If we compleltly fail, we will print the reason for failure on the Xen
console on top of doing it to earlyprintk=xen console.
Signed-off-by: Konrad Rzeszutek Wilk <konrad.wilk@oracle.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions