mirror of
https://github.com/Fishwaldo/linux-bl808.git
synced 2025-06-17 20:25:19 +00:00
[PATCH] Update cfq io scheduler to time sliced design
This updates the CFQ io scheduler to the new time sliced design (cfq v3). It provides full process fairness, while giving excellent aggregate system throughput even for many competing processes. It supports io priorities, either inherited from the cpu nice value or set directly with the ioprio_get/set syscalls. The latter closely mimic set/getpriority. This import is based on my latest from -mm. Signed-off-by: Jens Axboe <axboe@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
020f46a39e
commit
22e2c507c3
26 changed files with 1732 additions and 739 deletions
|
@ -3448,15 +3448,7 @@ int task_nice(const task_t *p)
|
|||
{
|
||||
return TASK_NICE(p);
|
||||
}
|
||||
|
||||
/*
|
||||
* The only users of task_nice are binfmt_elf and binfmt_elf32.
|
||||
* binfmt_elf is no longer modular, but binfmt_elf32 still is.
|
||||
* Therefore, task_nice is needed if there is a compat_mode.
|
||||
*/
|
||||
#ifdef CONFIG_COMPAT
|
||||
EXPORT_SYMBOL_GPL(task_nice);
|
||||
#endif
|
||||
|
||||
/**
|
||||
* idle_cpu - is a given cpu idle currently?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue