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: <027c64d1-6736-4e1f-9995-f198b38175f1@redhat.com>
Date: Tue, 17 Jun 2025 17:52:58 +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 1/2] mm/ksm: calculate ksm_process_profit more accurately

On 04.06.25 05:17, Longlong Xia wrote:
> The 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. This discrepancy leads to
> the sum of ksm_process_profit() across all processes not being equal
> to general_profit_show().
> 
> Fixes: 7609385337a4 ("ksm: count ksm merging pages for each process")
> Signed-off-by: Longlong Xia <xialonglong@...inos.cn>
> ---


What happened to the original idea of [1]

[1] 
https://lkml.kernel.org/r/20250606070314.3028593-1-xialonglong@kylinos.cn

-- 
Cheers,

David / dhildenb


Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ