Re: Who (and when) is calling the scheduler ? -- More confusion ...

Alessandro Rubini (rubini@pop.systemy.it)
Wed, 2 Sep 1998 09:00:21 +0200


Stephen:
> We could conceivably just loop in
> run_bottom_halves until there are no more deliverable bottom halves,
> which would get around to servicing the scheduler bh more quickly.

(positive replies deleted...)

But isnt' it already that way? At least it used to be that way with 2.0
on the x86 platform.

>From arch/i386/kernel/entry.S:

handle_bottom_half:
incl SYMBOL_NAME(intr_count)
call SYMBOL_NAME(do_bottom_half)
decl SYMBOL_NAME(intr_count)
jmp 9f

9: movl SYMBOL_NAME(bh_mask),%eax
andl SYMBOL_NAME(bh_active),%eax
jne handle_bottom_half

If this bhaviour is not generalized, it definitely should be.

/alessandro

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html