public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [2.6.35-rc3] select useful number of entries for DMA debugging...
@ 2010-07-05  8:35 Daniel J Blueman
  2010-07-09 21:33 ` Linus Torvalds
  0 siblings, 1 reply; 7+ messages in thread
From: Daniel J Blueman @ 2010-07-05  8:35 UTC (permalink / raw)
  To: Linus Torvalds; +Cc: Linux Kernel

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

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

end of thread, other threads:[~2010-07-12 14:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-07-05  8:35 [2.6.35-rc3] select useful number of entries for DMA debugging Daniel J Blueman
2010-07-09 21:33 ` Linus Torvalds
2010-07-10 14:52   ` Daniel J Blueman
2010-07-10 15:43     ` Joerg Roedel
2010-07-11 11:54       ` Daniel J Blueman
2010-07-11 13:00         ` Daniel J Blueman
2010-07-12 14:39           ` John Stoffel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox