Re: [question] why not get rid of handle_softirq from schedule()?

Tigran Aivazian (tigran@veritas.com)
Mon, 26 Jun 2000 19:19:37 +0100 (BST)


Greetings Alexey,

On Mon, 26 Jun 2000 kuznet@ms2.inr.ac.ru wrote:
> > If this is correct, then why do we need to call do_softirq() in
> > schedule() at all - isn't it enough to just call it on every
> > interrupt/syscall return?
>
> OK, let's go further. Why to call it on return from syscall?
>
> It is called from schedule() exaclty by the same reason, why it
> is called on return from syscall.

actually, now that I look at entry.S closer I see that softirqs are
handled in 3 places:

a) in schedule()

b) in ret_from_sys_call

c) in ret_from_intr

so, would you agree that a) and b) are redundant because c) should occur
sufficiently often (e.g. timer)?

Let's get rid of a) and b)!

Regards,
Tigran

-
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.tux.org/lkml/