* [Linux-ia64] size of spinlock_t
@ 2002-02-15 6:14 Ray Bryant
2002-02-15 6:24 ` David Mosberger
2002-02-15 15:47 ` Ray Bryant
0 siblings, 2 replies; 3+ messages in thread
From: Ray Bryant @ 2002-02-15 6:14 UTC (permalink / raw)
To: linux-ia64
In experimenting with new numa lock implementation, I changed the size
of spinlock_t to 16 bytes. The resulting kernel hangs on our SN
hardware just after printing "All processors have done init_idle". Now
it is possible this is something peculiar to the SGI kernels, but I was
wondering if anyone knew of places in the IA64 kernel that "know" that
sizeof(spinlock_t)=8 and don't work correctly if this is changed.
--
Best Regards,
Ray
-----------------------------------------------
Ray Bryant SGI
512-453-9679 (work) 512-507-7807 (cell)
raybry@sgi.com raybry@austin.rr.com
Computers are like air conditioners.
They stop working when you open Windows.
-----------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] size of spinlock_t
2002-02-15 6:14 [Linux-ia64] size of spinlock_t Ray Bryant
@ 2002-02-15 6:24 ` David Mosberger
2002-02-15 15:47 ` Ray Bryant
1 sibling, 0 replies; 3+ messages in thread
From: David Mosberger @ 2002-02-15 6:24 UTC (permalink / raw)
To: linux-ia64
>>>>> On Fri, 15 Feb 2002 00:14:55 -0600, Ray Bryant <raybry@engr.sgi.com> said:
Ray> In experimenting with new numa lock implementation, I changed
Ray> the size of spinlock_t to 16 bytes. The resulting kernel hangs
Ray> on our SN hardware just after printing "All processors have
Ray> done init_idle". Now it is possible this is something peculiar
Ray> to the SGI kernels, but I was wondering if anyone knew of
Ray> places in the IA64 kernel that "know" that
Ray> sizeof(spinlock_t)=8 and don't work correctly if this is
Ray> changed.
Are you sure it's not just include/asm/offsets.h that's out of date?
Make sure you have no stray arch/ia64/tools/print_offsets.s file and
then rerun make dep.
--david
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [Linux-ia64] size of spinlock_t
2002-02-15 6:14 [Linux-ia64] size of spinlock_t Ray Bryant
2002-02-15 6:24 ` David Mosberger
@ 2002-02-15 15:47 ` Ray Bryant
1 sibling, 0 replies; 3+ messages in thread
From: Ray Bryant @ 2002-02-15 15:47 UTC (permalink / raw)
To: linux-ia64
Yes that was it. Thanks. I am totally amazed that "make clean; make
vmlinux" did not remake offsets.h.
David Mosberger wrote:
>
> >>>>> On Fri, 15 Feb 2002 00:14:55 -0600, Ray Bryant <raybry@engr.sgi.com> said:
>
> Ray> In experimenting with new numa lock implementation, I changed
> Ray> the size of spinlock_t to 16 bytes. The resulting kernel hangs
> Ray> on our SN hardware just after printing "All processors have
> Ray> done init_idle". Now it is possible this is something peculiar
> Ray> to the SGI kernels, but I was wondering if anyone knew of
> Ray> places in the IA64 kernel that "know" that
> Ray> sizeof(spinlock_t)=8 and don't work correctly if this is
> Ray> changed.
>
> Are you sure it's not just include/asm/offsets.h that's out of date?
> Make sure you have no stray arch/ia64/tools/print_offsets.s file and
> then rerun make dep.
>
> --david
>
> _______________________________________________
> Linux-IA64 mailing list
> Linux-IA64@linuxia64.org
> http://lists.linuxia64.org/lists/listinfo/linux-ia64
--
Best Regards,
Ray
-----------------------------------------------
Ray Bryant SGI
512-453-9679 (work) 512-507-7807 (cell)
raybry@sgi.com raybry@austin.rr.com
Computers are like air conditioners.
They stop working when you open Windows.
-----------------------------------------------
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2002-02-15 15:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-02-15 6:14 [Linux-ia64] size of spinlock_t Ray Bryant
2002-02-15 6:24 ` David Mosberger
2002-02-15 15:47 ` Ray Bryant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox