projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
[PATCH] sched: calc_delta_mine(): use fixed limit
[linux-2.6-block.git]
/
kernel
/
sched.c
diff --git
a/kernel/sched.c
b/kernel/sched.c
index ed8cebf53286c089e85401db374f6610473b5398..b2bc8fa24ba7670e7c3b2a17b58b155def37e98b 100644
(file)
--- a/
kernel/sched.c
+++ b/
kernel/sched.c
@@
-657,7
+657,7
@@
calc_delta_mine(unsigned long delta_exec, unsigned long weight,
tmp = (tmp * lw->inv_weight) >> WMULT_SHIFT;
}
- return (unsigned long)min(tmp, (u64)
sysctl_sched_runtime_limit
);
+ return (unsigned long)min(tmp, (u64)
(unsigned long)LONG_MAX
);
}
static inline unsigned long