Re: [BUG] Strange 1-second pauses during Resume-from-RAM

Jörn Engel
2007-11-30T15:55:25Z

On Fri, 30 November 2007 14:35:46 +0100, Ingo Molnar wrote:
> * Jörn Engel <joern@logfs.org> wrote:
> >
> > kernel/sched.c:3384: warning: ‘struct prio_array’ declared inside parameter list
> > kernel/sched.c:3384: warning: its scope is only this definition or declaration, which is probably not what you want
> > kernel/sched.c: In function ‘trace_array’:
> > kernel/sched.c:3391: error: dereferencing pointer to incomplete type
> > kernel/sched.c:3393: error: dereferencing pointer to incomplete type
> > kernel/sched.c:3393: error: dereferencing pointer to incomplete type
> > kernel/sched.c:3396: error: dereferencing pointer to incomplete type
> > kernel/sched.c:3396: error: dereferencing pointer to incomplete type
> > kernel/sched.c: In function ‘trace_all_runnable_tasks’:
> > kernel/sched.c:3407: error: ‘struct rq’ has no member named ‘active’
> > make[1]: *** [kernel/sched.o] Error 1
> >
> > And I cannot find a definition of struct prio_array in current git
> > either. Is another patch needed?
>
> change that to rt_prio_array in the code.

Solves the prio_array problem, but leaves the non-existing member
active. I've upgraded to -rc3 and will give your latest patch a whirl.

Jörn

--
Write programs that do one thing and do it well. Write programs to work
together. Write programs to handle text streams, because that is a
universal interface.
-- Doug MacIlroy