Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 17 Jul 2008 12:33:08 -0700
From:      "Murty, Ravi" <ravi.murty@intel.com>
To:        <freebsd-hackers@freebsd.org>
Subject:   atomic_load_acq_int in ipi_nmi_handler()
Message-ID:  <AEBCFC23C0E40949B10BA2C224FC61B007BD873B@orsmsx416.amr.corp.intel.com>

next in thread | raw e-mail | index | archive | help
Hello All,

=20

Just a quick question: Why does this function (ipi_nmi_handler) execute
a atomic_load_acq_int(&ipi_nmi_pending). Following this it calls
atomic_clear_int to clear itself out of this mask. I can't think of why
the CPU would reorder these instructions knowing there is a dependency
here.

=20

Also, since FreeBSD has masks (like ipi_nmi_pending), has there been any
work on extending this beyond 64 CPUs?

=20

Thanks

Ravi

=20




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