Skip to content

Clean up schedstat and task delay acct config options

Naveen N. Rao lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 Latest2 patches 4 repliesIn review

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2schedstat: Simplify sched_info accounting dependencyinclude/linux/sched.h init/Kconfig kernel/sched/core.c +2 more+12 -62 replies
2/2schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is setfs/proc/base.c+7 -45 replies

Reviews trailers per patch

All 2 patches have a Reviewed-by or Acked-by.

PatchSrikar DronamrajuBalbir Singh
1/2A-b A-b
2/2A-b A-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v2 thread

Cover letter [PATCH v2 0/2] Clean up schedstat and task delay acct config options

Further to the earlier discussion [1], this patch set introduces CONFIG_SCHED_INFO for the common code associated with CONFIG_SCHEDSTATS and CONFIG_TASK_DELAY_ACCT. Further, /proc/<pid>/schedstat is now exposed if either of these is enabled.

[1] http://thread.gmane.org/gmane.linux.kernel/1961707

- Naveen

Naveen N. Rao (2):
schedstat: Simplify sched_info accounting dependency
schedstat: Expose /proc/pid/schedstat if CONFIG_SCHED_INFO is set

 fs/proc/base.c        | 11 +++++++----
 include/linux/sched.h |  6 +++---
 init/Kconfig          |  1 +
 kernel/sched/core.c   |  2 +-
 kernel/sched/stats.h  |  4 ++--
 lib/Kconfig.debug     |  5 +++++
 6 files changed, 19 insertions(+), 10 deletions(-)
Signature · 1 line
2.4.0