flock incorrectly detects deadlock on 7-stable and current

Doug Rabson dfr at rabson.org
Fri May 9 08:50:31 UTC 2008


On 9 May 2008, at 07:07, Paul Koch wrote:

> On Thu, 8 May 2008 06:37:00 pm Doug Rabson wrote:
>>
>>
>> Could you possibly try this patch and tell me if it helps:
>> ...
>>
> Manually applied the patch to stable kern_lockf.c  1.57.2.1.  Ran the
> flock_test program on many of our architectures and it works fine.
>
> Have also been testing our app on a single core i386 machine today  
> with
> no locking problems.  Just setup a quad core -stable amd64 build and  
> it
> also appears to be running fine now.

Thanks for that. I'll get the patch committed to current today - it  
will turn up in 7-stable in a couple of days.



More information about the freebsd-stable mailing list