Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1706154
| From | Peter Zijlstra <peterz@infradead.org> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2] scheduler: enhancement to show_state_filter |
| Date | 2017-08-08 10:40 +0200 |
| Message-ID | <uc8dr-5nN-5@gated-at.bofh.it> (permalink) |
| References | <uc4Wd-38V-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On Tue, Aug 08, 2017 at 08:53:10PM +0800, Yafang Shao wrote: > Sometimes we want to get tasks in TASK_RUNNING sepcifically, > instead of dump all tasks. > For example, when the loadavg are high, we want to dump > tasks in TASK_RUNNING and TASK_UNINTERRUPTIBLE, which contribute > to system load. But mostly there're lots of tasks in Sleep state, > which occupies almost all of the kernel log buffer, even overflows > it, that causes the useful messages get lost. Although we can > enlarge the kernel log buffer, but that's not a good idea. > > So I made this change to make the show_state_filter more flexible, > and then we can dump the tasks in TASK_RUNNING specifically. It reads like magic and I really don't see the point.
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2] scheduler: enhancement to show_state_filter Yafang Shao <laoar.shao@gmail.com> - 2017-08-08 07:10 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Peter Zijlstra <peterz@infradead.org> - 2017-08-08 10:40 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Yafang Shao <laoar.shao@gmail.com> - 2017-08-08 11:00 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Peter Zijlstra <peterz@infradead.org> - 2017-08-08 12:30 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Yafang Shao <laoar.shao@gmail.com> - 2017-08-08 12:40 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Yafang Shao <laoar.shao@gmail.com> - 2017-08-08 13:10 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Peter Zijlstra <peterz@infradead.org> - 2017-08-08 13:30 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Yafang Shao <laoar.shao@gmail.com> - 2017-08-08 14:10 +0200
Re: [PATCH v2] scheduler: enhancement to show_state_filter Peter Zijlstra <peterz@infradead.org> - 2017-08-08 13:10 +0200
csiph-web