On Tuesday 23 March 2004 05:28 pm, John Baldwin wrote: > jhb 2004/03/23 14:28:16 PST > > FreeBSD src repository > > Modified files: > sys/alpha/alpha interrupt.c > Log: > Enable interrupt preemption on Alpha. Previously, flipping this switch > on caused hangs on SMP systems under load. My theory was that an > interrupted thread was migrating and returning to PAL on a different CPU > and that that caused the hangs. To prevent this, I used the recently added > sched_pin() API to pin the interrupted thread to the CPU that received the > interrupt across ithread_schedule() to prevent migration. This seems to > have fixed the hangs based on tests by several folks on the alpha_at_ list. > > Tested by: wilko, tisco, several others on alpha_at_ > > Revision Changes Path > 1.77 +10 -1 src/sys/alpha/alpha/interrupt.c As an aside, interrupt preemption greatly reduces interrupt latency and can dramatically improve the 'snappiness' of a box. It is currently only enabled for i386, amd64, and now alpha. Maintainers for other archs such as sparc64, ia64, and ppc should try to get it working on their platforms as well if possible. -- John Baldwin <jhb_at_FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.orgReceived on Fri Mar 26 2004 - 13:11:24 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:49 UTC