diff options
| author | Heiko Carstens <hca@linux.ibm.com> | 2026-10-06 16:01:12 +0200 |
|---|---|---|
| committer | Heiko Carstens <hca@linux.ibm.com> | 2026-10-09 15:51:47 +0200 |
| commit | 0c920885e593ee0be7579c22adf7f6a1bbef71be (patch) | |
| tree | bfe66eac6ccdd8ab68d9ffa60577dfd66c3e4a51 /tools/lib/python | |
| parent | f28aeaecc28dec067fbe24abdbd48f4c584a517f (diff) | |
| download | linux-next-0c920885e593ee0be7579c22adf7f6a1bbef71be.tar.gz linux-next-0c920885e593ee0be7579c22adf7f6a1bbef71be.zip | |
s390/appldata: Emulate virtual timer with delayed work
Emulate the virtual timer in appldata using delayed work: the work is
scheduled for the minimum possible wall-clock time until the
configured CPU-time interval elapses (remaining CPU time / number of
online CPUs), with a minimum delay of 100ms. The work then reads
per-CPU statistics of all online CPUs to check whether enough CPU time
has elapsed, and if so runs the registered callbacks.
This is slightly more expensive, but allows to subsequently remove the
entire vtimer infrastructure.
Reviewed-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Tested-by: Gerald Schaefer <gerald.schaefer@linux.ibm.com>
Signed-off-by: Heiko Carstens <hca@linux.ibm.com>
Diffstat (limited to 'tools/lib/python')
0 files changed, 0 insertions, 0 deletions
