Re: PI mutex support on ARM

2007-07-09 Thread Arjan van de Ven
On Sun, 2007-07-08 at 22:17 +0200, Remy Bohmer wrote: > Hello Ingo, > > > patch format problem: never diff the asm/ files, diff the asm-arm/ files. > Yeah, of course, I know, I believe I made a real mess of this one ... > > > is it safe to do a get_user() with irqs off? > rhetorical question ;-))

Re: PI mutex support on ARM

2007-07-08 Thread Remy Bohmer
Hello Ingo, patch format problem: never diff the asm/ files, diff the asm-arm/ files. Yeah, of course, I know, I believe I made a real mess of this one ... is it safe to do a get_user() with irqs off? rhetorical question ;-)) I was wondering, Is it safe to use a normal spinlock here, like th

Re: PI mutex support on ARM

2007-07-08 Thread Ingo Molnar
* Remy Bohmer <[EMAIL PROTECTED]> wrote: > --- linux-2.6.21.orig/include/asm/futex.h 2007-04-26 05:08:32.0 > +0200 patch format problem: never diff the asm/ files, diff the asm-arm/ files. > + local_irq_save(flags); > + > + err = get_user(uval, uaddr); is it safe to do a