From fceb9fda8af1660f0076829fd63783d420cb320d Mon Sep 17 00:00:00 2001 From: alex Date: Mon, 12 Jan 2004 18:33:44 +0000 Subject: [PATCH] - procfs-ndynamic against 2.4 kernels b2326 --- .../patches/procfs-ndynamic-2.4.21-suse2.patch | 16 ++++++++++++++++ lustre/kernel_patches/patches/procfs-ndynamic-2.4.patch | 13 +++++++++++++ lustre/kernel_patches/series/chaos-2.4.18 | 1 + lustre/kernel_patches/series/chaos-2.4.21 | 1 - lustre/kernel_patches/series/hp-pnnl-2.4.20 | 1 + lustre/kernel_patches/series/rh-2.4.20 | 1 + lustre/kernel_patches/series/rh-2.4.22 | 1 + lustre/kernel_patches/series/suse-2.4.21 | 1 + lustre/kernel_patches/series/suse-2.4.21-2 | 1 + lustre/kernel_patches/series/vanilla-2.4.20 | 1 + lustre/kernel_patches/series/vanilla-2.4.22 | 3 ++- lustre/kernel_patches/series/vanilla-2.4.24 | 5 +++-- 12 files changed, 41 insertions(+), 4 deletions(-) create mode 100644 lustre/kernel_patches/patches/procfs-ndynamic-2.4.21-suse2.patch create mode 100644 lustre/kernel_patches/patches/procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/patches/procfs-ndynamic-2.4.21-suse2.patch b/lustre/kernel_patches/patches/procfs-ndynamic-2.4.21-suse2.patch new file mode 100644 index 0000000..65f4926 --- /dev/null +++ b/lustre/kernel_patches/patches/procfs-ndynamic-2.4.21-suse2.patch @@ -0,0 +1,16 @@ +Index: linux-2.4.21-suse2/include/linux/proc_fs.h +=================================================================== +--- linux-2.4.21-suse2.orig/include/linux/proc_fs.h 2004-01-12 09:56:51.000000000 +0300 ++++ linux-2.4.21-suse2/include/linux/proc_fs.h 2004-01-12 20:25:55.000000000 +0300 +@@ -25,11 +25,7 @@ + /* Finally, the dynamically allocatable proc entries are reserved: */ + + #define PROC_DYNAMIC_FIRST 4096 +-#ifdef CONFIG_PPC64 + #define PROC_NDYNAMIC 16384 +-#else +-#define PROC_NDYNAMIC 4096 +-#endif + + #define PROC_SUPER_MAGIC 0x9fa0 + diff --git a/lustre/kernel_patches/patches/procfs-ndynamic-2.4.patch b/lustre/kernel_patches/patches/procfs-ndynamic-2.4.patch new file mode 100644 index 0000000..bff6c7e --- /dev/null +++ b/lustre/kernel_patches/patches/procfs-ndynamic-2.4.patch @@ -0,0 +1,13 @@ +Index: linux-2.4.18-chaos/include/linux/proc_fs.h +=================================================================== +--- linux-2.4.18-chaos.orig/include/linux/proc_fs.h 2003-07-28 17:52:18.000000000 +0400 ++++ linux-2.4.18-chaos/include/linux/proc_fs.h 2004-01-12 20:12:38.000000000 +0300 +@@ -25,7 +25,7 @@ + /* Finally, the dynamically allocatable proc entries are reserved: */ + + #define PROC_DYNAMIC_FIRST 4096 +-#define PROC_NDYNAMIC 4096 ++#define PROC_NDYNAMIC 16384 + + #define PROC_SUPER_MAGIC 0x9fa0 + diff --git a/lustre/kernel_patches/series/chaos-2.4.18 b/lustre/kernel_patches/series/chaos-2.4.18 index c9ded5c..5bf9d1b 100644 --- a/lustre/kernel_patches/series/chaos-2.4.18 +++ b/lustre/kernel_patches/series/chaos-2.4.18 @@ -34,3 +34,4 @@ ext3-trusted_ea-2.4.18.patch gfp_memalloc-2.4.18-chaos.patch ext3-xattr-ptr-arith-fix.patch kernel_text_address-2.4.18-chaos.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/chaos-2.4.21 b/lustre/kernel_patches/series/chaos-2.4.21 index 3857847..7a406fc 100644 --- a/lustre/kernel_patches/series/chaos-2.4.21 +++ b/lustre/kernel_patches/series/chaos-2.4.21 @@ -31,4 +31,3 @@ gfp_memalloc-2.4.21-chaos.patch ext3-xattr-ptr-arith-fix.patch kernel_text_address-2.4.18-chaos.patch pagecache-lock-2.4.21-chaos.patch -quadrics-fixes.patch diff --git a/lustre/kernel_patches/series/hp-pnnl-2.4.20 b/lustre/kernel_patches/series/hp-pnnl-2.4.20 index 704cc29..e0316fe 100644 --- a/lustre/kernel_patches/series/hp-pnnl-2.4.20 +++ b/lustre/kernel_patches/series/hp-pnnl-2.4.20 @@ -37,3 +37,4 @@ listman-2.4.20.patch ext3-trusted_ea-2.4.20.patch gfp_memalloc-2.4.22.patch ext3-xattr-ptr-arith-fix.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/rh-2.4.20 b/lustre/kernel_patches/series/rh-2.4.20 index 9034dd7..89717c3 100644 --- a/lustre/kernel_patches/series/rh-2.4.20 +++ b/lustre/kernel_patches/series/rh-2.4.20 @@ -42,3 +42,4 @@ netconsole-2.4.20-rh.patch kernel_text_address-2.4.20-rh.patch gfp_memalloc-2.4.20-rh.patch ext3-xattr-ptr-arith-fix.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/rh-2.4.22 b/lustre/kernel_patches/series/rh-2.4.22 index a4ce33d..45ec358 100644 --- a/lustre/kernel_patches/series/rh-2.4.22 +++ b/lustre/kernel_patches/series/rh-2.4.22 @@ -27,3 +27,4 @@ listman-2.4.20.patch ext3-trusted_ea-2.4.20.patch gfp_memalloc-2.4.22.patch ext3-xattr-ptr-arith-fix.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/suse-2.4.21 b/lustre/kernel_patches/series/suse-2.4.21 index 715ff2c..b8da362 100644 --- a/lustre/kernel_patches/series/suse-2.4.21 +++ b/lustre/kernel_patches/series/suse-2.4.21 @@ -29,3 +29,4 @@ listman-2.4.20.patch ext3-trusted_ea-2.4.20.patch gfp_memalloc-2.4.22.patch ext3-xattr-ptr-arith-fix.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/suse-2.4.21-2 b/lustre/kernel_patches/series/suse-2.4.21-2 index 337a7df..c6bdaa0 100644 --- a/lustre/kernel_patches/series/suse-2.4.21-2 +++ b/lustre/kernel_patches/series/suse-2.4.21-2 @@ -28,3 +28,4 @@ listman-2.4.20.patch gfp_memalloc-2.4.24.patch ext3-xattr-ptr-arith-fix.patch kernel_text_address-2.4.20-vanilla.patch +procfs-ndynamic-2.4.21-suse2.patch diff --git a/lustre/kernel_patches/series/vanilla-2.4.20 b/lustre/kernel_patches/series/vanilla-2.4.20 index e6e5482..5796dfb 100644 --- a/lustre/kernel_patches/series/vanilla-2.4.20 +++ b/lustre/kernel_patches/series/vanilla-2.4.20 @@ -49,3 +49,4 @@ ext3-trusted_ea-2.4.20.patch kernel_text_address-2.4.20-vanilla.patch ext3-xattr-ptr-arith-fix.patch gfp_memalloc-2.4.22.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/vanilla-2.4.22 b/lustre/kernel_patches/series/vanilla-2.4.22 index 47b40fa..92f76eb 100644 --- a/lustre/kernel_patches/series/vanilla-2.4.22 +++ b/lustre/kernel_patches/series/vanilla-2.4.22 @@ -30,4 +30,5 @@ ext3-trusted_ea-2.4.20.patch kernel_text_address-2.4.22-vanilla.patch gfp_memalloc-2.4.22.patch ext3-xattr-ptr-arith-fix.patch -3.5G-address-space-2.4.22-vanilla.patch +3.5G-address-space-2.4.22-vanilla.patch +procfs-ndynamic-2.4.patch diff --git a/lustre/kernel_patches/series/vanilla-2.4.24 b/lustre/kernel_patches/series/vanilla-2.4.24 index 8a25fd0..b788159 100644 --- a/lustre/kernel_patches/series/vanilla-2.4.24 +++ b/lustre/kernel_patches/series/vanilla-2.4.24 @@ -13,7 +13,7 @@ ext3-htree-2.4.22-rh.patch linux-2.4.24-xattr-0.8.54.patch ext3-orphan_lock-2.4.22-rh.patch ext3-noread-2.4.20.patch -ext3-delete_thread-suse.patch +ext3-delete_thread-2.4.24.patch extN-wantedi.patch ext3-san-2.4.20.patch ext3-map_inode_page.patch @@ -32,4 +32,5 @@ ext3-trusted_ea-2.4.20.patch kernel_text_address-2.4.22-vanilla.patch gfp_memalloc-2.4.24.patch ext3-xattr-ptr-arith-fix.patch -3.5G-address-space-2.4.22-vanilla.patch +3.5G-address-space-2.4.22-vanilla.patch +procfs-ndynamic-2.4.patch -- 1.8.3.1