Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1444165 > unrolled thread
| Started by | Topi Miettinen <toiwoton@gmail.com> |
|---|---|
| First post | 2016-07-15 12:40 +0200 |
| Last post | 2016-07-15 12:40 +0200 |
| Articles | 1 — 1 participant |
Back to article view | Back to linux.kernel
This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by
below is the oldest one visible, not the original post.
[PATCH 14/14] resource limits: track highwater mark of RT priority Topi Miettinen <toiwoton@gmail.com> - 2016-07-15 12:40 +0200
| From | Topi Miettinen <toiwoton@gmail.com> |
|---|---|
| Date | 2016-07-15 12:40 +0200 |
| Subject | [PATCH 14/14] resource limits: track highwater mark of RT priority |
| Message-ID | <rV8Hg-5Li-37@gated-at.bofh.it> |
Track maximum RT priority, to be able to configure RLIMIT_RTPRIO resource limits. The information is available with taskstats and cgroupstats netlink socket. Signed-off-by: Topi Miettinen <toiwoton@gmail.com> --- kernel/sched/core.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/kernel/sched/core.c b/kernel/sched/core.c index da32bcd..bb08b43 100644 --- a/kernel/sched/core.c +++ b/kernel/sched/core.c @@ -4221,6 +4221,9 @@ change: balance_callback(rq); preempt_enable(); + task_update_resource_highwatermark(p, RLIMIT_RTPRIO, + attr->sched_priority); + return 0; } -- 2.8.1
Back to top | Article view | linux.kernel
csiph-web