Today's RELENG_5_4 and 'lock cmpxchgl'

Marc Olzheim marcolz at stack.nl
Fri Jul 1 13:03:41 GMT 2005


On Fri, Jul 01, 2005 at 12:41:39PM +0200, Marc Olzheim wrote:
> On Fri, Jul 01, 2005 at 12:14:58PM +0200, Marc Olzheim wrote:
> > Somehow, this sounds familiar, i.e.: the "lock cmpxchgl":
> > 
> > Fatal trap 12: page fault while in kernel mode
> ...
> > Stopped at      0xc05160c3 = knote+0x27:        lock cmpxchgl   %ecx,0x1c(%edx)
> 
> Somehow I think I solved this last time by activating 'INVARIANTS'...
> I'll try that now.

Let's paraphrase:

I think i solved this last time by activating 'INVARIANTS'...

Anyway, tried that and yes, it didn't crash in the last few hours, so I
guess it works. Without INVARIANTS, it crashed within seconds.

On the downside, my Gigabit performance dropped from 99 MB/sec to 80
MB/sec because of INVARIANTS.

Marc
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20050701/4e8f5ab7/attachment.bin


More information about the freebsd-stable mailing list