Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1323909

Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is disabled by default v3

From Srikar Dronamraju <srikar@linux.vnet.ibm.com>
Newsgroups linux.kernel
Subject Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is disabled by default v3
Date 2016-02-02 10:40 +0100
Message-ID <qXFBg-xF-7@gated-at.bofh.it> (permalink)
References <qXj7I-Bb-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


Dont we need changes for sched_info_on()?

If we disable schedstats dynamically but CONFIG_TASK_DELAY_ACCT is not
set, then sched_info_on will return true, This could impact guest steal
time stats as well as data read from /proc/<PID>/schedstat

Also when schedstats is dynamically disabled, and user tries to enable
kernel sleep profiling profile_setup(), the kernel may not be able to do
the right profiling since enqueue_sleeper() may not get called. Should
we alert the user saying kernel sleep profiling is disabled?

-- 
Thanks and Regards
Srikar Dronamraju

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 1/1] sched: Make schedstats a runtime tunable that is disabled by default v3 Mel Gorman <mgorman@techsingularity.net> - 2016-02-01 10:40 +0100
  Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is  disabled by default v3 Matt Fleming <matt@codeblueprint.co.uk> - 2016-02-01 15:20 +0100
  Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is  disabled by default v3 Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2016-02-02 10:40 +0100
    Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is  disabled by default v3 Mel Gorman <mgorman@techsingularity.net> - 2016-02-02 13:00 +0100
      Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is  disabled by default v3 Srikar Dronamraju <srikar@linux.vnet.ibm.com> - 2016-02-02 15:50 +0100
        Re: [PATCH 1/1] sched: Make schedstats a runtime tunable that is  disabled by default v3 Mel Gorman <mgorman@techsingularity.net> - 2016-02-03 10:20 +0100

csiph-web