linux-sg2042/arch/s390/appldata
Martin Schwidefsky 27f6b41662 s390/vtimer: rework virtual timer interface
The current virtual timer interface is inherently per-cpu and hard to
use. The sole user of the interface is appldata which uses it to execute
a function after a specific amount of cputime has been used over all cpus.

Rework the virtual timer interface to hook into the cputime accounting.
This makes the interface independent from the CPU timer interrupts, and
makes the virtual timers global as opposed to per-cpu.
Overall the code is greatly simplified. The downside is that the accuracy
is not as good as the original implementation, but it is still good enough
for appldata.

Reviewed-by: Jan Glauber <jang@linux.vnet.ibm.com>
Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-07-20 11:15:08 +02:00
..
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
appldata.h s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
appldata_base.c s390/vtimer: rework virtual timer interface 2012-07-20 11:15:08 +02:00
appldata_mem.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
appldata_net_sum.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00
appldata_os.c s390/comments: unify copyright messages and remove file names 2012-07-20 11:15:04 +02:00