Re: Prompt the account Scheduling O(1)

2015-01-15 Thread Valdis . Kletnieks
On Thu, 15 Jan 2015 18:57:20 +0300, Meyer Lansky said: if (hardirq_count())                 per_cpu(cpu_hardirq_time, cpu) +Þlta; else if (in_serving_softirq() && !(curr->flags & PF_KSOFTIRQD))                 per_cpu(cpu_softirq_time, cpu) +Þlta; > question: tell m

Prompt the account Scheduling O(1)

2015-01-15 Thread Meyer Lansky
Hello!  E xcuse me for my english. I study source code scheduler O(1) code : if (hardirq_count())     per_cpu(cpu_hardirq_time, cpu) +=delta; else if (in_serving_softirq() && !(curr->flags & PF_KSOFTIRQD))     per_cpu(cpu_softirq_time, cpu) +=delta; question: tell me wh