Re: [PATCH] 4th try: i386 rw_semaphores fix

2001-04-12 Thread D . W . Howells
Andrew Morton wrote: > It still doesn't compile with gcc-2.91.66 because of the "#define > rwsemdebug(FMT, ...)" thing. What can we do about this? Hmmm... It probably needs to be made conditional on the version of the compiler by means of the macros that hold the version numbers. > I

Re: [PATCH] 4th try: i386 rw_semaphores fix

2001-04-12 Thread Andrew Morton
David Howells wrote: > > Here's the RW semaphore patch attempt #4. This fixes the bugs that Andrew > Morton's test cases showed up. > It still doesn't compile with gcc-2.91.66 because of the "#define rwsemdebug(FMT, ...)" thing. What can we do about this? I cooked up a few more tests,

Re: [PATCH] 4th try: i386 rw_semaphores fix

2001-04-12 Thread Andrew Morton
David Howells wrote: Here's the RW semaphore patch attempt #4. This fixes the bugs that Andrew Morton's test cases showed up. It still doesn't compile with gcc-2.91.66 because of the "#define rwsemdebug(FMT, ...)" thing. What can we do about this? I cooked up a few more tests, generally

[PATCH] 4th try: i386 rw_semaphores fix

2001-04-11 Thread David Howells
Here's the RW semaphore patch attempt #4. This fixes the bugs that Andrew Morton's test cases showed up. It simplifies the __wake_up_ctx_common() function and adds an iterative clause to the end of rwsem_wake(). David diff -uNr linux-2.4.3/arch/i386/config.in linux-rwsem/arch/i386/config.in

[PATCH] 4th try: i386 rw_semaphores fix

2001-04-11 Thread David Howells
Here's the RW semaphore patch attempt #4. This fixes the bugs that Andrew Morton's test cases showed up. It simplifies the __wake_up_ctx_common() function and adds an iterative clause to the end of rwsem_wake(). David diff -uNr linux-2.4.3/arch/i386/config.in linux-rwsem/arch/i386/config.in