diff options
Diffstat (limited to 'include/linux/sched.h')
-rw-r--r-- | include/linux/sched.h | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/include/linux/sched.h b/include/linux/sched.h index 7a54e62763c5..2f43f1fb7de7 100644 --- a/include/linux/sched.h +++ b/include/linux/sched.h | |||
@@ -566,6 +566,19 @@ struct task_delay_info { | |||
566 | * Atomicity of updates to XXX_delay, XXX_count protected by | 566 | * Atomicity of updates to XXX_delay, XXX_count protected by |
567 | * single lock above (split into XXX_lock if contention is an issue). | 567 | * single lock above (split into XXX_lock if contention is an issue). |
568 | */ | 568 | */ |
569 | |||
570 | /* | ||
571 | * XXX_count is incremented on every XXX operation, the delay | ||
572 | * associated with the operation is added to XXX_delay. | ||
573 | * XXX_delay contains the accumulated delay time in nanoseconds. | ||
574 | */ | ||
575 | struct timespec blkio_start, blkio_end; /* Shared by blkio, swapin */ | ||
576 | u64 blkio_delay; /* wait for sync block io completion */ | ||
577 | u64 swapin_delay; /* wait for swapin block io completion */ | ||
578 | u32 blkio_count; /* total count of the number of sync block */ | ||
579 | /* io operations performed */ | ||
580 | u32 swapin_count; /* total count of the number of swapin block */ | ||
581 | /* io operations performed */ | ||
569 | }; | 582 | }; |
570 | #endif | 583 | #endif |
571 | 584 | ||