Skip to contentSkip to conversation

dynamic proc fallout

PATCH New Matt Mackall 1 participant 1 message Apr 21, 2004

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 dynamic proc fallout

Delete obsolete comment and kill test of obsolete define.

include/linux/proc_fs.h +0 -2
Index: tiny/include/linux/proc_fs.h
===================================================================
@@ -24,8 +24,6 @@
 	PROC_ROOT_INO = 1,
 };
 
-/* Finally, the dynamically allocatable proc entries are reserved: */
-
 #define PROC_SUPER_MAGIC 0x9fa0
 
 /*
arch/alpha/kernel/irq.c +5 -9
Index: tiny/arch/alpha/kernel/irq.c
===================================================================
@@ -415,16 +415,12 @@
 #endif
 
 	/*
-	 * Create entries for all existing IRQs. If the number of IRQs
-	 * is greater the 1/4 the total dynamic inode space for /proc,
-	 * don't pollute the inode space
+	 * Create entries for all existing IRQs.
 	 */
-	if (ACTUAL_NR_IRQS < (PROC_NDYNAMIC / 4)) {
-		for (i = 0; i < ACTUAL_NR_IRQS; i++) {
-			if (irq_desc[i].handler == &no_irq_type)
-				continue;
-			register_irq_proc(i);
-		}
+	for (i = 0; i < ACTUAL_NR_IRQS; i++) {
+		if (irq_desc[i].handler == &no_irq_type)
+			continue;
+		register_irq_proc(i);
 	}
 }
 
Signature · 1 line
Matt Mackall : http://www.selenic.com : Linux development and consulting