lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <200711191925.12072.david@livux.com>
Date:	Mon, 19 Nov 2007 19:25:11 +0100
From:	David <david@...ux.com>
To:	linux-kernel@...r.kernel.org
Subject: RE: [patch/backport] CFS scheduler, -v24, for v2.6.24-rc3, v2.6.23.8,v2.6.22.13, v2.6.21.7

> 
> By popular demand, here is release -v24 of the CFS scheduler patch.
> 
> It is a full backport of the latest & greatest scheduler code 
> to v2.6.24-rc3, v2.6.23.8, v2.6.22.13, v2.6.21.7. The patches 
> can be downloaded from the usual place:
> 
>     http://people.redhat.com/mingo/cfs-scheduler/
> 
> There's tons of changes since v22 was released:
> 
>     36 files changed, 2359 insertions(+), 1082 deletions(-)
> 
> that's 187 individual commits from 32 authors.
> 
> So even if CFS v22 worked well for you, please try this 
> release too and report regressions (if any).
> 

Hi Ingo,

Thnx a lot for theses backports...

Ran into this while compiling a 2.6.23.8 with CFS v24

Compiling with CONFIG_FAIR_GROUP_SCHED disabled :

kernel/sysctl.c:305: error: 'sysctl_sched_min_bal_int_shares' undeclared here (not in a function)
kernel/sysctl.c:313: error: 'sysctl_sched_max_bal_int_shares' undeclared here (not in a function)

I made that patch to make it compile.


--- kernel/sysctl.c     2007-11-19 19:08:36.000000000 +0100
+++ kernel.new/sysctl.c 2007-11-19 19:07:49.000000000 +0100
@@ -299,6 +299,7 @@
                .mode           = 644,
                .proc_handler   = &proc_dointvec,
        },
+#ifdef CONFIG_FAIR_GROUP_SCHED
        {
                .ctl_name       = CTL_UNNUMBERED,
                .procname       = "sched_min_bal_int_shares",
@@ -315,6 +316,7 @@
                .mode           = 0644,
                .proc_handler   = &proc_dointvec,
        },
+#endif
 #endif
        {
                .ctl_name       = CTL_UNNUMBERED,



Compiling with CONFIG_FAIR_GROUP_SCHED enabled I get that errors. I have applied other patches, and may be an interaction. I will try to confirm that later :


kernel/sched.c: In function 'rebalance_shares':
kernel/sched.c:7039: error: dereferencing pointer to incomplete type
kernel/sched.c: In function 'load_balance_monitor':
kernel/sched.c:7125: error: 'ndoms_cur' undeclared (first use in this function)
kernel/sched.c:7125: error: (Each undeclared identifier is reported only once
kernel/sched.c:7125: error: for each function it appears in.)
kernel/sched.c:7126: error: 'doms_cur' undeclared (first use in this function)
kernel/sched.c:7132: error: 'struct rq' has no member named 'sd'
kernel/sched.c:7132: warning: type defaults to 'int' in declaration of '_________p1'
kernel/sched.c:7132: error: 'struct rq' has no member named 'sd'
kernel/sched.c:7132: warning: assignment makes pointer from integer without a cast
kernel/sched.c:7132: error: dereferencing pointer to incomplete type
kernel/sched.c:7133: error: dereferencing pointer to incomplete type
kernel/sched.c:7133: error: 'SD_LOAD_BALANCE' undeclared (first use in this function)
kernel/sched.c:7126: warning: unused variable 'cpumap'

-- 
David Rodríguez García
Director Técnico
LiVux I+D S.L.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ