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-prev] [day] [month] [year] [list]
Message-Id: <200711201023.47614.david@livux.com>
Date:	Tue, 20 Nov 2007 10:23:47 +0100
From:	David <david@...ux.com>
To:	mingo@...e.hu, 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

El Martes, 20 de Noviembre de 2007, Ingo Molnar escribió:
> * David <david@...ux.com> wrote:
> > El Lunes, 19 de Noviembre de 2007, Ingo Molnar escribió:
> > > * David <david@...ux.com> wrote:
> > > > I have removed all other patches, and applied only cfs v24 above
> > > > 2.6.23.8, and the compiler ran into (with CONFIG_FAIR_GROUP_SCHED
> > > > enabled):
> > >
> > > does the patch below help?
> > >
> > > 	Ingo
> >
> > Yes, now sched.c compile without errors, but linking fails at:
> >
> >
> >   LD      init/built-in.o
> >   LD      .tmp_vmlinux1
> > kernel/built-in.o:(.data+0x4a8): undefined reference to
> > `sysctl_sched_min_bal_int_shares' kernel/built-in.o:(.data+0x4d4):
> > undefined reference to `sysctl_sched_max_bal_int_shares' make: ***
> > [.tmp_vmlinux1] Error 1
>
> does the patch below do the trick?
>
> 	Ingo
>
> Index: linux/kernel/sysctl.c
> ===================================================================
> --- linux.orig/kernel/sysctl.c
> +++ linux/kernel/sysctl.c
> @@ -309,7 +309,7 @@ static struct ctl_table kern_table[] = {
>  		.mode		= 644,
>  		.proc_handler	= &proc_dointvec,
>  	},
> -#ifdef CONFIG_FAIR_GROUP_SCHED
> +#if defined(CONFIG_FAIR_GROUP_SCHED) && defined(CONFIG_SMP)
>  	{
>  		.ctl_name	= CTL_UNNUMBERED,
>  		.procname	= "sched_min_bal_int_shares",

Yes, the kernel compile correctly.

Thanks Ingo



-- 
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