Linux Headquarters
[ Register ]
[ About us ] [ Home Page ]

Advertisement
[ Kernel ] [ Documentation ] [ Links ] [ Books ]

Advertisement

Kernel v2.6.24.5 /kernel/sysctl.c

Filename:/kernel/sysctl.c
Lines Added:2
Lines Deleted:2
Also changed in: (Previous) 2.6.24.4  2.6.24.4-rc3  2.6.24.4-rc2  2.6.24.4-rc1  2.6.24.3  2.6.24.3-rc1 
(Following) 2.6.24.6  2.6.24.7  2.6.25-git3  2.6.25-git4  2.6.25-git5  2.6.25-git6 

Location
[  2.6.24.5
  [  kernel
     o  sysctl.c

Patch

diff --git a/kernel/sysctl.c b/kernel/sysctl.c
index c68f68d..397ff8c 100644
--- a/kernel/sysctl.c
+++ b/kernel/sysctl.c
@@ -306,7 +306,7 @@ static struct ctl_table kern_table[] = {
       .procname   = "sched_nr_migrate",
       .data      = &sysctl_sched_nr_migrate,
       .maxlen      = sizeof(unsigned int),
-      .mode      = 644,
+      .mode      = 0644,
       .proc_handler   = &proc_dointvec,
    },
 #endif
@@ -910,7 +910,7 @@ static struct ctl_table vm_table[] = {
       .data      = &nr_overcommit_huge_pages,
       .maxlen      = sizeof(nr_overcommit_huge_pages),
       .mode      = 0644,
-      .proc_handler   = &proc_doulongvec_minmax,
+      .proc_handler   = &hugetlb_overcommit_handler,
    },
 #endif
    {


Comments: webmaster (at) linuxhq.com.
Advertising: banners (at) linuxhq.com.
Compilation ©1998-2008 Linux Headquarters, Inc.