2012/11/27 Frederic Weisbecker <fweis...@gmail.com>: > 2012/11/27 Gleb Natapov <g...@redhat.com>: >> What is the semantics of enter_idle()/exit_idle(), what are they used for? > > It's used by drivers/idle/i7300_idle.c for some tracking. I don't know much > the details. > > enter_idle() is called right before the CPU is set to lower power mode: hlt() > > exit_idle() is called anytime we exit this low power mode: irq, > polling on need_resched(), etc... > >> Not present fault happening in idle task does not mean we exit idle >> task. If this happens exception handler will execute sti; hlt waiting >> for missing page to be ready. Any interrupt happening during this hlt >> will do exit_idle() by itself. > > Well, the code executed by this fault should be considered as an exit > from idle mode. Now it's a small piece of code and we hlt() quickly so > I guess getting of idle_exit() there wouldn't hurt much. ^ getting "rid" -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- Re: [RFC PATCH] Fix abnormal rcu dynt... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal rcu... Paul E. McKenney
- Re: [RFC PATCH] Fix abnormal rcu dynticks... Gleb Natapov
- Re: [RFC PATCH] Fix abnormal rcu dynt... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal rcu... Gleb Natapov
- Re: [RFC PATCH] Fix abnormal... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal... Gleb Natapov
- Re: [RFC PATCH] Fix abnormal... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal... Gleb Natapov
- Re: [RFC PATCH] Fix abnormal... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting valu... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting... Paul E. McKenney
- Re: [RFC PATCH] Fix abnormal rcu dynticks_nes... Frederic Weisbecker
- Re: [RFC PATCH] Fix abnormal rcu dynticks_nesting valu... Frederic Weisbecker
- [RFC PATCH v2] Add rcu user eqs exception hooks f... Li Zhong
- Re: [RFC PATCH v2] Add rcu user eqs exception... Frederic Weisbecker
- Re: [RFC PATCH v2] Add rcu user eqs excep... Gleb Natapov
- Re: [RFC PATCH v2] Add rcu user eqs e... Frederic Weisbecker
- Re: [RFC PATCH v2] Add rcu user ... Gleb Natapov
- Re: [RFC PATCH v2] Add rcu u... Frederic Weisbecker