atomic_load_acq_int in ipi_nmi_handler()

Julian Elischer julian at elischer.org
Thu Jul 17 19:56:32 UTC 2008


Murty, Ravi wrote:
> Hello All,
> 
>  
> 
> 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.
> 
>  
> 
> Also, since FreeBSD has masks (like ipi_nmi_pending), has there been any
> work on extending this beyond 64 CPUs?

Only in discussion. A quick survey of other OS's and their
answers is probably in order. There are cpu bitmasks in use..

We are going to have to look at the whole NUMA thing soon too.

(BTW it's only 32 on 32 bit machines I believe)

> 
>  
> 
> Thanks
> 
> Ravi
> 
>  
> 
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to "freebsd-hackers-unsubscribe at freebsd.org"



More information about the freebsd-hackers mailing list