On 2024/4/13 3:35, Matthew Wilcox (Oracle) wrote: > We've already calculated it, so pass it in instead of recalculating it > in collect_procs_ksm(). > > Signed-off-by: Matthew Wilcox (Oracle) <willy@xxxxxxxxxxxxx> > Reviewed-by: Jane Chu <jane.chu@xxxxxxxxxx> > --- > include/linux/ksm.h | 14 +++----------- > mm/ksm.c | 5 ++--- > mm/memory-failure.c | 2 +- > 3 files changed, 6 insertions(+), 15 deletions(-) Reviewed-by: Miaohe Lin <linmiaohe@xxxxxxxxxx> Thanks. .