Re: [PATCH 2/2] sched: Split the function show_schedstat()

2020-12-04 Thread Yunfeng Ye
On 2020/12/4 17:40, Mel Gorman wrote: > On Fri, Dec 04, 2020 at 09:22:34AM +0800, Yunfeng Ye wrote: >> >> >> On 2020/12/3 17:42, Mel Gorman wrote: >>> On Thu, Dec 03, 2020 at 02:47:14PM +0800, Yunfeng Ye wrote: The schedstat include runqueue-specific stats and domain-specific stats,

Re: [PATCH 2/2] sched: Split the function show_schedstat()

2020-12-04 Thread Mel Gorman
On Fri, Dec 04, 2020 at 09:22:34AM +0800, Yunfeng Ye wrote: > > > On 2020/12/3 17:42, Mel Gorman wrote: > > On Thu, Dec 03, 2020 at 02:47:14PM +0800, Yunfeng Ye wrote: > >> The schedstat include runqueue-specific stats and domain-specific stats, > >> so split it into two functions, show_rqstat()

Re: [PATCH 2/2] sched: Split the function show_schedstat()

2020-12-03 Thread Yunfeng Ye
On 2020/12/3 17:42, Mel Gorman wrote: > On Thu, Dec 03, 2020 at 02:47:14PM +0800, Yunfeng Ye wrote: >> The schedstat include runqueue-specific stats and domain-specific stats, >> so split it into two functions, show_rqstat() and show_domainstat(). >> >> No functional changes. >> >>

Re: [PATCH 2/2] sched: Split the function show_schedstat()

2020-12-03 Thread Mel Gorman
On Thu, Dec 03, 2020 at 02:47:14PM +0800, Yunfeng Ye wrote: > The schedstat include runqueue-specific stats and domain-specific stats, > so split it into two functions, show_rqstat() and show_domainstat(). > > No functional changes. > > Signed-off-by: Yunfeng Ye Why? I could understand if

[PATCH 2/2] sched: Split the function show_schedstat()

2020-12-02 Thread Yunfeng Ye
The schedstat include runqueue-specific stats and domain-specific stats, so split it into two functions, show_rqstat() and show_domainstat(). No functional changes. Signed-off-by: Yunfeng Ye --- kernel/sched/stats.c | 101 +++ 1 file changed, 54