| From | Sent On | Attachments |
|---|---|---|
| FreeBSD Tinderbox | Oct 10, 2006 8:42 pm | |
| FreeBSD Tinderbox | Oct 11, 2006 9:29 am | |
| FreeBSD Tinderbox | Oct 11, 2006 10:39 pm | |
| Ruslan Ermilov | Oct 12, 2006 2:13 am | |
| FreeBSD Tinderbox | Oct 12, 2006 11:42 am | |
| FreeBSD Tinderbox | Oct 13, 2006 12:55 am | |
| FreeBSD Tinderbox | Oct 13, 2006 12:21 pm | |
| Joel Dahl | Oct 13, 2006 2:35 pm | |
| Kip Macy | Oct 13, 2006 2:40 pm | |
| Joel Dahl | Oct 13, 2006 3:08 pm | |
| Ruslan Ermilov | Oct 13, 2006 3:12 pm | |
| FreeBSD Tinderbox | Oct 14, 2006 1:48 am | |
| FreeBSD Tinderbox | Oct 14, 2006 3:08 pm | |
| FreeBSD Tinderbox | Oct 15, 2006 11:39 am | |
| FreeBSD Tinderbox | Oct 15, 2006 5:52 pm | |
| FreeBSD Tinderbox | Oct 16, 2006 6:38 am | |
| FreeBSD Tinderbox | Oct 16, 2006 8:02 pm | |
| FreeBSD Tinderbox | Oct 17, 2006 6:52 am | |
| FreeBSD Tinderbox | Oct 20, 2006 2:57 pm | |
| FreeBSD Tinderbox | Oct 22, 2006 9:24 am | |
| FreeBSD Tinderbox | Oct 28, 2006 5:02 am | |
| FreeBSD Tinderbox | Oct 31, 2006 11:03 pm | |
| FreeBSD Tinderbox | Nov 1, 2006 11:07 am | |
| FreeBSD Tinderbox | Nov 3, 2006 7:20 pm | |
| FreeBSD Tinderbox | Nov 4, 2006 12:44 am | |
| FreeBSD Tinderbox | Nov 4, 2006 6:04 am | |
| John Birrell | Nov 4, 2006 6:59 am | |
| Kip Macy | Nov 4, 2006 7:46 am | |
| Peter Jeremy | Nov 4, 2006 11:06 am | |
| Randall Stewart | Nov 4, 2006 5:49 pm | |
| FreeBSD Tinderbox | Nov 4, 2006 5:49 pm | |
| FreeBSD Tinderbox | Nov 4, 2006 5:50 pm | |
| FreeBSD Tinderbox | Nov 4, 2006 10:50 pm | |
| FreeBSD Tinderbox | Nov 5, 2006 4:25 am | |
| FreeBSD Tinderbox | Nov 5, 2006 10:10 am | |
| FreeBSD Tinderbox | Nov 5, 2006 3:47 pm | |
| FreeBSD Tinderbox | Nov 5, 2006 10:30 pm | |
| FreeBSD Tinderbox | Nov 6, 2006 5:25 am | |
| FreeBSD Tinderbox | Nov 6, 2006 12:27 pm | |
| FreeBSD Tinderbox | Nov 6, 2006 6:48 pm | |
| John Baldwin | Nov 6, 2006 10:09 pm | |
| Randall Stewart | Nov 7, 2006 12:19 am | |
| FreeBSD Tinderbox | Nov 7, 2006 1:19 am | |
| FreeBSD Tinderbox | Nov 7, 2006 8:02 am | |
| FreeBSD Tinderbox | Nov 7, 2006 3:00 pm | |
| John Baldwin | Nov 7, 2006 3:16 pm | |
| Randall Stewart | Nov 7, 2006 5:39 pm | |
| FreeBSD Tinderbox | Nov 7, 2006 9:54 pm | |
| FreeBSD Tinderbox | Nov 8, 2006 4:41 am | |
| FreeBSD Tinderbox | Nov 8, 2006 11:43 am | |
| FreeBSD Tinderbox | Nov 8, 2006 6:38 pm | |
| FreeBSD Tinderbox | Nov 11, 2006 7:32 am | |
| FreeBSD Tinderbox | Nov 11, 2006 7:53 pm | |
| FreeBSD Tinderbox | Nov 12, 2006 12:56 am | |
| FreeBSD Tinderbox | Nov 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.
-- John Baldwin





