lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date:   Sat, 4 Dec 2021 19:23:20 +0800
From:   yong w <yongw.pur@...il.com>
To:     Andrew Morton <akpm@...ux-foundation.org>
Cc:     bsingharora@...il.com,
        "Peter Zijlstra (Intel)" <peterz@...radead.org>, mingo@...nel.org,
        LKML <linux-kernel@...r.kernel.org>,
        Linux MM <linux-mm@...ck.org>, yang.yang29@....com.cn,
        wang.yong12@....com.cn
Subject: Re: [PATCH linux-next] delayacct: track delays from memory compact

Sorry, the patch has something wrong.
I'll resend the patch later.

Thanks!

Andrew Morton <akpm@...ux-foundation.org> 于2021年12月4日周六 05:02写道:
>
> On Fri,  3 Dec 2021 06:37:52 -0800 yongw.pur@...il.com wrote:
>
> > From: wangyong <wang.yong12@....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?
>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ