diff options
author | Sebastian Ott <sebott@linux.vnet.ibm.com> | 2011-12-01 13:32:19 +0100 |
---|---|---|
committer | Martin Schwidefsky <schwidefsky@de.ibm.com> | 2011-12-01 13:32:17 +0100 |
commit | 817e5000ebc4d448ca514db49b55073a724f8552 (patch) | |
tree | eea9284fcc6cd702161eff7611de394822329c30 /drivers/s390/cio/cio.h | |
parent | cfc9066bcd3ab498268e1d075f1556bb5244c0aa (diff) | |
download | linux-stable-817e5000ebc4d448ca514db49b55073a724f8552.tar.gz linux-stable-817e5000ebc4d448ca514db49b55073a724f8552.tar.bz2 linux-stable-817e5000ebc4d448ca514db49b55073a724f8552.zip |
[S390] hibernate: directly trigger subchannel evaluation
Using the generic css_schedule_eval to evaluate subchannels
while resuming from hibernation is very slow when used with
many devices. Provide a new evaluation trigger which exploits
css_sched_sch_todo and use this in the resume callback for
ccw devices.
Signed-off-by: Sebastian Ott <sebott@linux.vnet.ibm.com>
Signed-off-by: Martin Schwidefsky <schwidefsky@de.ibm.com>
Diffstat (limited to 'drivers/s390/cio/cio.h')
-rw-r--r-- | drivers/s390/cio/cio.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/drivers/s390/cio/cio.h b/drivers/s390/cio/cio.h index 155a82bcb9e5..4a1ff5c2eb88 100644 --- a/drivers/s390/cio/cio.h +++ b/drivers/s390/cio/cio.h @@ -68,8 +68,13 @@ struct schib { __u8 mda[4]; /* model dependent area */ } __attribute__ ((packed,aligned(4))); +/* + * When rescheduled, todo's with higher values will overwrite those + * with lower values. + */ enum sch_todo { SCH_TODO_NOTHING, + SCH_TODO_EVAL, SCH_TODO_UNREG, }; |