Messages in this thread | | | Date | Fri, 29 Oct 2004 11:54:57 -0700 (PDT) | From | Linus Torvalds <> | Subject | Re: Semaphore assembly-code bug |
| |
On Fri, 29 Oct 2004, Linus Torvalds wrote: > > Anyway, making "asmlinkage" imply "regparm(3)" would make the whole > discussion moot, so I'm wondering if anybody has the patches to try it > out? It requires pretty big changes to all the x86 asm code, but I do know > that people _had_ patches like that at least long ago (from when people > like Jan were playing with -mregaparm=3 originally). Maybe some of them > still exist..
Looking at just doing this for the semaphore code, I hit on the fact that we already do this for the rwsem's.. So changing just the regular semaphore code to use "fastcall" should fix this particular bug, but I'm still interested in hearing whether somebody has a patch for the system calls and faults too?
Linus - 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/
| |