Date: Mon, 22 Mar 2010 03:06:11 +0000 (UTC) From: Marcel Moolenaar <marcel@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/ia64/pci pci_cfgreg.c Message-ID: <201003220306.o2M36JtP039303@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
marcel 2010-03-22 03:06:11 UTC
FreeBSD src repository
Modified files:
sys/ia64/pci pci_cfgreg.c
Log:
SVN rev 205432 on 2010-03-22 03:06:11Z by marcel
Disable interrupts when calling into SAL for PCI configuration
cycles. This serves 2 purposes:
1. It prevents preemption and CPU migration while running SAL code.
2. It reduces the chance of stack overflows: we're supposed to enter
SAL with at least 16KB of either memory- or register stack space,
which we can't do without switching to a different stack.
Revision Changes Path
1.4 +8 -3 src/sys/ia64/pci/pci_cfgreg.c
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201003220306.o2M36JtP039303>
