On Saturday 28 August 2004 03:41 am, Julian Elischer wrote: > This is defined static in i386 and amd64, > but as it is not exported it can not be used in > subr_smp.c, which probably should mask against it when trying to > forward roundrobin and signals. > > should this be a globally available thing? > Otherwise we are sending IPIs to threads that are > not capable of doing anything with them. More correct might be to add an 'active_cpus' mask that contains the set of active CPUs and use that in place of all_cpus where appropriate. active_cpus would basically be 'all_cpus & ~hlt_cpus_mask', but it probably makes more sense from an MI perspective since 'hlt' is fairly x86-specific. -- John Baldwin <jhb_at_FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" = http://www.FreeBSD.orgReceived on Wed Sep 01 2004 - 19:14:08 UTC
This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:10 UTC