Re: [PATCH] solves freeze due to serial comm. on SMP

From: Andrew Morton (akpm@zip.com.au)
Date: Thu Jan 03 2002 - 00:46:06 EST


kees wrote:
>
> Hi,
>
> In the beginning of last year I reported a solid freeze problem with Linux
> when I moved from UP to SMP. Some bughunting especially with kdb an hints
> from AM I was able to nail it down to some SMP unsafe irq table handling
> in serial.c.
> I submitted the attached patch to Ted but that never made it to the
> kernel. It _really_ solved the problem as I had a crash sometimes within
> 15 minutes and after applying it I reached uptimes over 100 days.
>

It looks like somebody has already had a go at fixing this in current
kernels - the restore_flags() has been moved to the end of
shutdown(). (It's not a complete fix, because request_irq() can
schedule).

Are you able to test 2.4.17?
-
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/



This archive was generated by hypermail 2b29 : Mon Jan 07 2002 - 21:00:20 EST