Re: spinlocks() are severely broken in 2.2.X and 2.4.X for modules

From: David S. Miller (davem@redhat.com)
Date: Sat Jul 01 2000 - 16:02:52 EST


   Date: Sat, 1 Jul 2000 13:56:21 +0200 (CEST)
   From: =?ISO-8859-1?Q?G=E9rard_Roudier?= <groudier@club-internet.fr>

   I didn't know that the irq_restore() for a given irq_save() must
   also be performed in the context of the same function. Thanks for
   the information. Is it related to the flags containing
   informations about function's local resources ? (registers used,
   ...)

The flags holds also the Sparc current register window in use. So if
you restore it in a different function, this would clobber all the
registers.

Later,
David S. Miller
davem@redhat.com

-
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/



This archive was generated by hypermail 2b29 : Fri Jul 07 2000 - 21:00:09 EST