dect
/
linux-2.6
Archived
13
0
Fork 0
This repository has been archived on 2022-02-17. You can view files and clone it, but cannot push or open issues or pull requests.
linux-2.6/arch/s390/lib
Martin Schwidefsky 4c1051e37a [S390] rework idle code
Whenever the cpu loads an enabled wait PSW it will appear as idle to the
underlying host system. The code in default_idle calls vtime_stop_cpu
which does the necessary voodoo to get the cpu time accounting right.
The udelay code just loads an enabled wait PSW. To correct this rework
the vtime_stop_cpu/vtime_start_cpu logic and move the difficult parts
to entry[64].S, vtime_stop_cpu can now be called from anywhere and
vtime_start_cpu is gone. The correction of the cpu time during wakeup
from an enabled wait PSW is done with a critical section in entry[64].S.
As vtime_start_cpu is gone, s390_idle_check can be removed as well.

Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
2012-03-11 11:59:28 -04:00
..
Makefile [S390] uaccess: make sure copy_from_user_overflow is builtin 2010-03-08 12:25:29 +01:00
delay.c [S390] rework idle code 2012-03-11 11:59:28 -04:00
div64.c [S390] __div64_31 broken for CONFIG_MARCH_G5 2009-03-18 13:28:12 +01:00
qrnnd.S [S390] fix s390 assembler code alignments 2011-07-24 10:48:21 +02:00
spinlock.c [S390] rework smp code 2012-03-11 11:59:28 -04:00
string.c [S390] use compiler builtin versions of strlen/strcpy/strcat 2009-03-26 15:24:24 +01:00
uaccess.h futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
uaccess_mvcos.c [S390] Improve address space mode selection. 2009-12-07 12:51:33 +01:00
uaccess_pt.c [S390] sparse: fix sparse warnings with __user pointers 2011-10-30 15:16:46 +01:00
uaccess_std.c futex: Sanitize futex ops argument types 2011-03-11 12:23:31 +01:00
ucmpdi2.c [S390] add __ucmpdi2() helper function 2009-07-07 16:37:53 +02:00
usercopy.c [S390] uaccess: implement strict user copy checks 2010-02-26 22:37:29 +01:00