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] [thread-next>] [day] [month] [year] [list]
Message-ID: <1efe101a-da55-3043-c964-f23e10bcfa79@intel.com>
Date:   Wed, 27 Apr 2022 13:03:58 +0800
From:   Yin Fengwei <fengwei.yin@...el.com>
To:     Shakeel Butt <shakeelb@...gle.com>
CC:     kernel test robot <oliver.sang@...el.com>,
        Yosry Ahmed <yosryahmed@...gle.com>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        Johannes Weiner <hannes@...xchg.org>,
        Michal Hocko <mhocko@...nel.org>,
        Muchun Song <songmuchun@...edance.com>,
        Andrew Morton <akpm@...ux-foundation.org>,
        LKML <linux-kernel@...r.kernel.org>, <lkp@...ts.01.org>,
        kernel test robot <lkp@...el.com>,
        Huang Ying <ying.huang@...el.com>,
        Feng Tang <feng.tang@...el.com>,
        Xing Zhengjun <zhengjun.xing@...ux.intel.com>
Subject: Re: [memcg] a8c49af3be: hackbench.throughput -13.7% regression


On 4/27/2022 1:02 PM, Shakeel Butt wrote:
> Hi Yin,
> 
> On Tue, Apr 26, 2022 at 7:53 PM Yin Fengwei <fengwei.yin@...el.com> wrote:
>>
> [...]
>>
>> If I comment out one line added by the commit <a8c49af3be> :
>> static void memcg_account_kmem(struct mem_cgroup *memcg, int nr_pages)
>> {
>>         /* mod_memcg_state(memcg, MEMCG_KMEM, nr_pages); */  <--- comment out this line.
> 
> Can you to comment out the following block instead of the above line
> and see if there is any impact?
> 
>>         if (!cgroup_subsys_on_dfl(memory_cgrp_subsys)) {
>>                 if (nr_pages > 0)
>>                         page_counter_charge(&memcg->kmem, nr_pages);
>>                 else
>>                         page_counter_uncharge(&memcg->kmem, -nr_pages);
>>         }
>> }
OK. I will give it a try and send the result out.


Regards
Yin, Fengwei

>>

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ