Messages in this thread | | | Subject | Re: [patch] dubious process system time. | From | Andi Kleen <> | Date | 24 Aug 2006 14:32:55 +0200 |
| |
Martin Schwidefsky <schwidefsky@de.ibm.com> writes:
> From: Martin Schwidefsky <schwidefsky@de.ibm.com> > > [patch] dubious process system time. > > The system time that is accounted to a process includes the time spent > in three different contexts: normal system time, hardirq time and > softirq time. To account hardirq time and sortirq time to a process > seems wrong, because the process could just happen to run when the > interrupt arrives that was caused by an i/o for a completly different > process. And the sum over stime and cstime of all processes won't > match cputstat->system either. > The following patch changes the accounting of system time so that > hardirq and softirq time are not accounted to a process anymore.
So where does it get accounted then? It has to be accounted somewhere. Sounds like a quite radical change to me, might break a lot of existing assumptions.
-Andi - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |