lkml.org 
[lkml]   [1999]   [Jan]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [patch] race-fix for bottom-half-functions [Re: Subtle trouble in remove_bh().]
   Date: 	Fri, 15 Jan 1999 00:59:45 +0100 (CET)
From: Andrea Arcangeli <andrea@e-mind.com>

> I would suggest to change the code so it first clears the mask bit - it
> costs nothing and the function does not need the global cli anymore.

Agreed, it will make the code more robust with a tiny overhead. I repost
here the _whole_ fix for the bottom-half-function SMP races. I think this
should go in fast to avoid maintainers of other archs to fix things two
times ;)

This patch looks strangely like what 32-bit sparc has been doing all
along. :-)

Later,
David S. Miller
davem@dm.cobaltmicro.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/

\
 
 \ /
  Last update: 2005-03-22 13:49    [W:0.138 / U:0.592 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site