NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/38646 (-current panic with veriexec)



On Jun 23, 12:55pm, blymn%baesystems.com.au@localhost (Brett Lymn) wrote:
-- Subject: Re: kern/38646 (-current panic with veriexec)

|  +#define RW_UPGRADE(lock)            do {                            \
|  +    /* Nothing */                                                   \
|  +} while((rw_tryupgrade(lock)) == 0);                                        
\

Why not:

        
#define RW_UPGRADE(lock) while((rw_tryupgrade(lock)) == 0) continue


christos


Home | Main Index | Thread Index | Old Index