Re: down_trylock doesn't preserve irqstate

From: Werner Almesberger (almesber@lrc.epfl.ch)
Date: Sat Feb 26 2000 - 17:28:59 EST


David S. Miller wrote:
> If it sleeps, no it does not preserve global cli/sti on SMP. It
> preserves local cpu interrupt state only.

Sigh ...

> I really would like to see global cli removed from all spots where it
> is not absolutely necessary (ATM is networking, so you have no excuse
> here :-).

And I was already afraid I might die of boredom next week ... :)

- Werner

-- 
  _________________________________________________________________________
 / Werner Almesberger, ICA, EPFL, CH       werner.almesberger@ica.epfl.ch /
/_IN_N_032__Tel_+41_21_693_6621__Fax_+41_21_693_6610_____________________/

- 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 : Tue Feb 29 2000 - 21:00:15 EST