Li, Aubrey wrote: > Bill.Holler wrote: > > >> Here are two other cases to consider: >> 1. offline processors. >> 2. Solaris disables the local APIC's timer when there are no cyclics >> on this processor. >> >> Since neither of these cases use the local APIC's timer, they do not >> require lAPIC timer re-programming in idle wakeup? >> > > For offline processors, I think it should be okay. > But how about a cyclic xcall is added when this processor is deep > sleeping? >
I am not sure I understand. Do you mean "what if a cyclic was added to this cpu while it was idle"? Adding a cyclic is always done be a thread running on the cpu who's cyclic heap is being manipulated. See cyclic_add_here(). A cpu cannot be idle when its cyclic heap changes. :-) >> Solaris should use the deepest c-state available for offline >> processors. :-) >> >> > The question is how to make another core to enter deepest c-state? > cpu_offline call shoudn't be bound to the CPU which is going to be put > into deep c-state. > IIRC an offline cpu just runs its idle loop. Bill > Thanks, > -Aubrey > _______________________________________________ > tesla-dev mailing list > tesla-dev at opensolaris.org > http://mail.opensolaris.org/mailman/listinfo/tesla-dev >
