hi,
I'm trying to get -ac to compile on sparc32 again.
At some point in time,
long counter;
long nice;
both disappeared from task_struct (def. in include/linux/sched.h).
However, arch/sparc/kernel/process.c::cpu_idle() tries to set
these properties for the idle task:
current->nice = 20;
current->counter = -100;
init_idle();
... which can't be done, of course.
The question is, how do I cope with this properly?
Have functions been introduced to adjust the appropriate
values in an instance of task_t when renicing? Or?
Thanks,
T.
On Mon, 2002-07-15 at 23:37, Tomas Szepe wrote:
> I'm trying to get -ac to compile on sparc32 again.
2.4-ac only works on a few architectures (x86 and Alpha) due to the O(1)
scheduler changes...
Robert Love
> However, arch/sparc/kernel/process.c::cpu_idle() tries to set
> these properties for the idle task:
>
> current->nice = 20;
> current->counter = -100;
> init_idle();
I'll send you my O(1) for sparc 2.5, adapt that.
-- Pete
> > However, arch/sparc/kernel/process.c::cpu_idle() tries to set
> > these properties for the idle task:
> >
> > current->nice = 20;
> > current->counter = -100;
> > init_idle();
>
> I'll send you my O(1) for sparc 2.5, adapt that.
Thanks, I'll have a look at the patch.
T.