[PATCH 3/3] cputime: Generic on-demand virtual cputime accounting

2012-11-03 Thread Frederic Weisbecker
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick. Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries. However implementing CONFIG_VIRT_CPU_ACCOUNTING require to set low level hooks and involves

[PATCH 3/3] cputime: Generic on-demand virtual cputime accounting

2012-11-03 Thread Frederic Weisbecker
If we want to stop the tick further idle, we need to be able to account the cputime without using the tick. Virtual based cputime accounting solves that problem by hooking into kernel/user boundaries. However implementing CONFIG_VIRT_CPU_ACCOUNTING require to set low level hooks and involves