aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/export-to-postgresql-report
diff options
context:
space:
mode:
authorPeter Zijlstra <[email protected]>2015-05-08 14:23:45 +0200
committerIngo Molnar <[email protected]>2015-05-19 08:39:18 +0200
commit80ed87c8a9ca0cad7ca66cf3bbdfb17559a66dcf (patch)
tree7da247bcde968e1ee6900dde15c875a44d145e3b /tools/perf/scripts/python/bin/export-to-postgresql-report
parent8222dbe21e79338de92d5e1956cd1e3994cc9f93 (diff)
sched/wait: Introduce TASK_NOLOAD and TASK_IDLE
Currently people use TASK_INTERRUPTIBLE to idle kthreads and wait for 'work' because TASK_UNINTERRUPTIBLE contributes to the loadavg. Having all idle kthreads contribute to the loadavg is somewhat silly. Now mostly this works OK, because kthreads have all their signals masked. However there's a few sites where this is causing problems and TASK_UNINTERRUPTIBLE should be used, except for that loadavg issue. This patch adds TASK_NOLOAD which, when combined with TASK_UNINTERRUPTIBLE avoids the loadavg accounting. As most of imagined usage sites are loops where a thread wants to idle, waiting for work, a helper TASK_IDLE is introduced. Signed-off-by: Peter Zijlstra (Intel) <[email protected]> Cc: Julian Anastasov <[email protected]> Cc: Linus Torvalds <[email protected]> Cc: NeilBrown <[email protected]> Cc: Oleg Nesterov <[email protected]> Cc: Peter Zijlstra <[email protected]> Cc: Thomas Gleixner <[email protected]> Signed-off-by: Ingo Molnar <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/export-to-postgresql-report')
0 files changed, 0 insertions, 0 deletions