2006-01-26 14:07:22

by Olaf Hering

[permalink] [raw]
Subject: Re: [PATCH] Zone reclaim: proc override

On Wed, Jan 18, Linux Kernel Mailing List wrote:

> +++ b/kernel/sysctl.c

> +#ifdef CONFIG_NUMA
> + {
> + .ctl_name = VM_ZONE_RECLAIM_MODE,

> + .strategy = &zero,

zero is an 'int', while strategy is ctl_handler *.

--
short story of a lazy sysadmin:
alias appserv=wotan


2006-01-26 16:25:04

by Christoph Lameter

[permalink] [raw]
Subject: Re: [PATCH] Zone reclaim: proc override

On Thu, 26 Jan 2006, Olaf Hering wrote:

> On Wed, Jan 18, Linux Kernel Mailing List wrote:
>
> > +++ b/kernel/sysctl.c
>
> > +#ifdef CONFIG_NUMA
> > + {
> > + .ctl_name = VM_ZONE_RECLAIM_MODE,
>
> > + .strategy = &zero,
>
> zero is an 'int', while strategy is ctl_handler *.

Right. The fix is in Andrew's tree.