Re: 2.6.9 rc2 freezing

Zilvinas Valinskas
2004-09-17T08:06:58Z

On Thu, Sep 16, 2004 at 10:39:10AM +0200, Helge Hafting wrote:
> Jeff Garzik wrote:
>
> >Lee Revell wrote:
> >
> >>Interesting. Still, this looks like a specific bug that needs fixing,
> >>it doesn't imply that preemption is a hack. For many workloads
> >>preemption is a necessity.
> >
> >
> >
> >For any workload that you feel preemption is a necessity, that
> >indicates a latency problem in the kernel that should be solved.
> >
> >Preemption is a hack that hides broken drivers, IMHO.
> >
> >I would rather directly address any latency problems that appear.
>
> Current preempt is broken, sure. But having robust preempt
> would allow code simplification. Long loops outside critical
> sections would be ok - no time or code spent testing for a need for
> rescheduling because you'll be preempted when necessary anyway.

Could be the case. This morning I've turned off PREEMPT support in
linux 2.6.9-rc2 kernel, booted just fine, ran apt-get update ... it
seemed everything is ok.

Then setup IPsec policies, ping remote end, racoon has tried to negotiate
with a remote end and ... laptop freezes again (this time without
PREEMPT).

At a time I was in X, couldn't capture the OOPS, after reboot
/var/log/kern.log is empty ... :(

Doesn't seem it is PREEMPT related I think now.
>
> Or am I missing something? Other than that current preempt isn't up to
> this and might be hard to get there?
>
> Helge Hafting
>
>
> -
> 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/