Re: Linux Scheduler and Compilation

Richard B. Johnson (root@chaos.analogic.com)
Thu, 25 Oct 2001 15:16:59 -0400 (EDT)


On 25 Oct 2001, Shaya Potter wrote:

> On Thu, 2001-10-25 at 16:37, José Luis Domingo López wrote:
> > On Thursday, 25 October 2001, at 18:20:25 +0300,
> > Omer Sever wrote:
[SNIPPED...]
>
> On that note, why is add_to_runqueue() in sched.c and
> del_from_runqueue() in sched.h?

add_to_runqueue() is a function in sched.c
del_from_runqueue() is an macro. Macros generally go into header files.

These kinda need to be associated with sched.c because of:
static LIST_HEAD(runqueue_head);
plus some spinlocks.

Cheers,
Dick Johnson

Penguin : Linux version 2.4.1 on an i686 machine (799.53 BogoMips).

I was going to compile a list of innovations that could be
attributed to Microsoft. Once I realized that Ctrl-Alt-Del
was handled in the BIOS, I found that there aren't any.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/