lkml.org 
[lkml]   [2021]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH linux-next] delayacct: track delays from memory compact
On Fri,  3 Dec 2021 06:37:52 -0800 yongw.pur@gmail.com wrote:

> From: wangyong <wang.yong12@zte.com.cn>
>
> Delay accounting does not track the delay of memory compact.
> When there is not enough free memory, tasks can spend
> a amount of their time waiting for memory compact.
>
> To get the impact of tasks in direct memory compact, measure
> the delay when allocating memory through memory compact.
>
> ...
>
> --- a/include/linux/delayacct.h
> +++ b/include/linux/delayacct.h
> @@ -42,8 +42,13 @@ struct task_delay_info {
> u64 thrashing_start;
> u64 thrashing_delay; /* wait for thrashing page */
>
> + u64 compact_start;
> + u64 compact_delay; /* wait for memory compact */
> +
> + u64 freepages_start;

task_delay_info already has a freepages_start, so it fails to compile.

Did you send the correct version?

\
 
 \ /
  Last update: 2021-12-03 22:03    [W:0.055 / U:4.580 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site