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: <6c329b3b-97ed-4e5a-9e71-e4b737b50bd3@redhat.com>
Date: Tue, 17 Jun 2025 17:48:52 +0200
From: David Hildenbrand <david@...hat.com>
To: Longlong Xia <xialonglong@...inos.cn>, akpm@...ux-foundation.org,
 xu.xin16@....com.cn
Cc: linux-mm@...ck.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 0/2] mm/ksm: calculate ksm_process_profit more accurately

On 04.06.25 05:17, Longlong Xia wrote:

./scripts/get_maintainer.pl is helpful to identify all people worth 
CCing (such as, all maintainers).

> During the KSM testing, it was observed that the sum of KSM profits
> for each process does not equal the general_profit.
> 
> The reason is general_profit_show() only considers ksm_pages_sharing,
> whereas ksm_process_profit() accounts for both ksm_pages_sharing
> and ksm_pages_shared for each process. By concentrating solely on
> ksm_pages_sharing, we can achieve a more accurate representation
> of actual profits.
> 
> Thanks for review and comments!
> 
> Longlong Xia (2):
>    mm/ksm: calculate ksm_process_profit more accurately
>    mm/ksm: Rename ksm_merging_pages to ksm_process_sharing
> 
>   Documentation/admin-guide/mm/ksm.rst          |  6 ++---
>   Documentation/filesystems/proc.rst            |  6 ++---
>   .../translations/zh_CN/admin-guide/mm/ksm.rst |  8 +++----
>   .../translations/zh_TW/admin-guide/mm/ksm.rst |  8 +++----
>   fs/proc/base.c                                | 10 ++++-----
>   include/linux/mm_types.h                      |  2 +-
>   mm/ksm.c                                      | 22 ++++++++-----------
>   .../selftests/mm/ksm_functional_tests.c       | 10 ++++-----
>   8 files changed, 34 insertions(+), 38 deletions(-)
> 


-- 
Cheers,

David / dhildenb


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ