diff options
author | rink <rink@FreeBSD.org> | 2009-05-27 18:12:27 +0000 |
---|---|---|
committer | rink <rink@FreeBSD.org> | 2009-05-27 18:12:27 +0000 |
commit | 1843497c73653aba06fad4b9e766e6e4496c63c8 (patch) | |
tree | 059827f60f268f9899124ac79d2a77de2cba18e3 /lib/libc/stdlib/system.c | |
parent | 095c1f19b69905801b4f310ea68c2c805aa56998 (diff) | |
download | FreeBSD-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/system.c')
0 files changed, 0 insertions, 0 deletions