Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 May 2009 18:12:27 +0000 (UTC)
From:      Rink Springer <rink@FreeBSD.org>
To:        cvs-src-old@freebsd.org
Subject:   cvs commit: src/sys/ia64/ia64 mp_machdep.c
Message-ID:  <200905271816.n4RIG18X064391@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
rink        2009-05-27 18:12:27 UTC

  FreeBSD src repository

  Modified files:
    sys/ia64/ia64        mp_machdep.c 
  Log:
  SVN rev 192918 on 2009-05-27 18:12:27Z by rink
  
  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.
  
  Revision  Changes    Path
  1.73      +26 -8     src/sys/ia64/ia64/mp_machdep.c



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200905271816.n4RIG18X064391>