summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/div.c
diff options
context:
space:
mode:
authorrink <rink@FreeBSD.org>2009-05-27 18:12:27 +0000
committerrink <rink@FreeBSD.org>2009-05-27 18:12:27 +0000
commit1843497c73653aba06fad4b9e766e6e4496c63c8 (patch)
tree059827f60f268f9899124ac79d2a77de2cba18e3 /lib/libc/stdlib/div.c
parent095c1f19b69905801b4f310ea68c2c805aa56998 (diff)
downloadFreeBSD-src-1843497c73653aba06fad4b9e766e6e4496c63c8.zip
FreeBSD-src-1843497c73653aba06fad4b9e766e6e4496c63c8.tar.gz
ia64: Move MCA information retrieval to a per-CPU kthread
Once AP's are launched, their MCA state information is stored and later obtainable using a sysctl. Since the size of the MCA state information is unknown, it will be malloc'ed as needed. However, when 'ia64_ap_startup' runs, it's not yet safe to call malloc and this may cause 'panic: blockable sleep lock (sleep mutex) 8192 @ /usr/src/sys/vm/uma_core.c'. This commit avoids this issue by scheduling a separate kthread to obtain this information, which immediately terminates afterwards.
Diffstat (limited to 'lib/libc/stdlib/div.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud