* [PATCH] dynamic proc fallout
@ 2004-04-21 18:09 Matt Mackall
0 siblings, 0 replies; only message in thread
From: Matt Mackall @ 2004-04-21 18:09 UTC (permalink / raw)
To: Andrew Morton, linux-kernel
Delete obsolete comment and kill test of obsolete define.
Index: tiny/include/linux/proc_fs.h
===================================================================
--- tiny.orig/include/linux/proc_fs.h 2004-04-21 12:49:22.000000000 -0500
+++ tiny/include/linux/proc_fs.h 2004-04-21 13:06:06.000000000 -0500
@@ -24,8 +24,6 @@
PROC_ROOT_INO = 1,
};
-/* Finally, the dynamically allocatable proc entries are reserved: */
-
#define PROC_SUPER_MAGIC 0x9fa0
/*
Index: tiny/arch/alpha/kernel/irq.c
===================================================================
--- tiny.orig/arch/alpha/kernel/irq.c 2004-03-25 13:36:07.000000000 -0600
+++ tiny/arch/alpha/kernel/irq.c 2004-04-21 13:06:06.000000000 -0500
@@ -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);
}
}
--
Matt Mackall : http://www.selenic.com : Linux development and consulting
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2004-04-21 18:09 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-04-21 18:09 [PATCH] dynamic proc fallout Matt Mackall
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox