Messages in this thread Patch in this message | | | Date | Mon, 5 Jul 2010 09:35:38 +0100 | Subject | [2.6.35-rc3] select useful number of entries for DMA debugging... | From | Daniel J Blueman <> |
| |
When booting 2.6.35-rc3 on some different x86 boxes with DMA debugging enabled, I've consistently seen it exhaust the allocated entries during boot, giving 'DMA-API: debugging out of memory - disabling'.
Increase number of entries to allow DMA debugging again.
Signed-off-by: Daniel J Blueman <daniel.blueman@gmail.com>
diff --git a/arch/x86/kernel/pci-dma.c b/arch/x86/kernel/pci-dma.c index 4b7e3d8..5ff7f12 100644 --- a/arch/x86/kernel/pci-dma.c +++ b/arch/x86/kernel/pci-dma.c @@ -53,7 +53,7 @@ struct device x86_dma_fallback_dev = { EXPORT_SYMBOL(x86_dma_fallback_dev);
/* Number of entries preallocated for DMA-API debugging */ -#define PREALLOC_DMA_DEBUG_ENTRIES 32768 +#define PREALLOC_DMA_DEBUG_ENTRIES 65536
int dma_set_mask(struct device *dev, u64 mask) { -- Daniel J Blueman
| |