atom feed55 messages in org.freebsd.freebsd-sparc64[head tinderbox] failure on sparc64/s...
FromSent OnAttachments
FreeBSD TinderboxOct 10, 2006 8:42 pm 
FreeBSD TinderboxOct 11, 2006 9:29 am 
FreeBSD TinderboxOct 11, 2006 10:39 pm 
Ruslan ErmilovOct 12, 2006 2:13 am 
FreeBSD TinderboxOct 12, 2006 11:42 am 
FreeBSD TinderboxOct 13, 2006 12:55 am 
FreeBSD TinderboxOct 13, 2006 12:21 pm 
Joel DahlOct 13, 2006 2:35 pm 
Kip MacyOct 13, 2006 2:40 pm 
Joel DahlOct 13, 2006 3:08 pm 
Ruslan ErmilovOct 13, 2006 3:12 pm 
FreeBSD TinderboxOct 14, 2006 1:48 am 
FreeBSD TinderboxOct 14, 2006 3:08 pm 
FreeBSD TinderboxOct 15, 2006 11:39 am 
FreeBSD TinderboxOct 15, 2006 5:52 pm 
FreeBSD TinderboxOct 16, 2006 6:38 am 
FreeBSD TinderboxOct 16, 2006 8:02 pm 
FreeBSD TinderboxOct 17, 2006 6:52 am 
FreeBSD TinderboxOct 20, 2006 2:57 pm 
FreeBSD TinderboxOct 22, 2006 9:24 am 
FreeBSD TinderboxOct 28, 2006 5:02 am 
FreeBSD TinderboxOct 31, 2006 11:03 pm 
FreeBSD TinderboxNov 1, 2006 11:07 am 
FreeBSD TinderboxNov 3, 2006 7:20 pm 
FreeBSD TinderboxNov 4, 2006 12:44 am 
FreeBSD TinderboxNov 4, 2006 6:04 am 
John BirrellNov 4, 2006 6:59 am 
Kip MacyNov 4, 2006 7:46 am 
Peter JeremyNov 4, 2006 11:06 am 
Randall StewartNov 4, 2006 5:49 pm 
FreeBSD TinderboxNov 4, 2006 5:49 pm 
FreeBSD TinderboxNov 4, 2006 5:50 pm 
FreeBSD TinderboxNov 4, 2006 10:50 pm 
FreeBSD TinderboxNov 5, 2006 4:25 am 
FreeBSD TinderboxNov 5, 2006 10:10 am 
FreeBSD TinderboxNov 5, 2006 3:47 pm 
FreeBSD TinderboxNov 5, 2006 10:30 pm 
FreeBSD TinderboxNov 6, 2006 5:25 am 
FreeBSD TinderboxNov 6, 2006 12:27 pm 
FreeBSD TinderboxNov 6, 2006 6:48 pm 
John BaldwinNov 6, 2006 10:09 pm 
Randall StewartNov 7, 2006 12:19 am 
FreeBSD TinderboxNov 7, 2006 1:19 am 
FreeBSD TinderboxNov 7, 2006 8:02 am 
FreeBSD TinderboxNov 7, 2006 3:00 pm 
John BaldwinNov 7, 2006 3:16 pm 
Randall StewartNov 7, 2006 5:39 pm 
FreeBSD TinderboxNov 7, 2006 9:54 pm 
FreeBSD TinderboxNov 8, 2006 4:41 am 
FreeBSD TinderboxNov 8, 2006 11:43 am 
FreeBSD TinderboxNov 8, 2006 6:38 pm 
FreeBSD TinderboxNov 11, 2006 7:32 am 
FreeBSD TinderboxNov 11, 2006 7:53 pm 
FreeBSD TinderboxNov 12, 2006 12:56 am 
FreeBSD TinderboxNov 12, 2006 6:12 am 
Subject:[head tinderbox] failure on sparc64/sun4v
From:John Baldwin (jh@freebsd.org)
Date:Nov 7, 2006 3:16:49 pm
List:org.freebsd.freebsd-sparc64

On Monday 06 November 2006 19:18, Randall Stewart wrote:

John Baldwin wrote:

On Saturday 04 November 2006 06:06, Peter Jeremy wrote:

On Fri, 2006-Nov-03 23:46:27 -0800, Kip Macy wrote:

Sparc64 only supports CAS on 4 and 8 byte quantities. The only operation it support on 16 bytes is load.

The '16' in 'atomic_add_16' is bits. Few RISC architectures can support atomic operations (or primitives to build atomic ops) on anything other than their native word side and 32 bits.

The problem is that SCTP is using a 16-bit refcnt and trying to manipulate it atomically. This is problematic on anything except i386 and amd64. The easiest solution seems to be to change refcnt to an [u]int - though I'm not sure what other impacts this may have.

And if possible it should just use 'refcount_*()' instead of 'atomic_*()' directly.

What I mean there is that there is a simple refcount_*() API wrapper in sys/refcount.h that uses atomic ops on ints to safely manage reference counts, and I would prefer the code to use refcount_*() instead of atomic_*() directly if it fits as atomics can be tricky to manage sometimes.