From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-170.mta0.migadu.com (out-170.mta0.migadu.com [91.218.175.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 71E4B3D7D7E for ; Thu, 16 Jul 2026 08:23:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.170 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784190241; cv=none; b=PAkcXZ/gY6TbtXNmmHgJO7xWcYhAcYB95TByk0pLWSKie9j38MSpf2toTu4lmx4h2EUKj5pgCv14yBoeIso5XDAnJ3HzhFhsn9weM5VzFOa3zUbMxkl7XXuvo5RgjzFbgB4P/JZbgTd3wSoUFGm9Y+4wafqXlAcuu4ag+STDVPA= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1784190241; c=relaxed/simple; bh=OqI4WMNgYIsd+7+h1pcgjDmt8GV93rtfpTA8yRBccbc=; h=Message-ID:Date:MIME-Version:Subject:To:Cc:References:From: In-Reply-To:Content-Type; b=dlOSCkextvLrh+2r9DcxwHb+VQdzyAQo4faCYVDwfgKMdu4ET8GV+weZJ6vD5puOIElFbCKENQzjHOoBjCYTG0HXAh/9FuK1WhaB2Bk0FEMpjCFuxpilK1RR4ceRhFKBX/RPmAHXLTEbWAkFFNU5Bhwqb1aSAYFrXkaY0FWZhjw= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev; spf=pass smtp.mailfrom=linux.dev; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b=Op6V0AuF; arc=none smtp.client-ip=91.218.175.170 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linux.dev Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linux.dev Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linux.dev header.i=@linux.dev header.b="Op6V0AuF" Message-ID: DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1784190223; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=UIaszBeUoTnjcZ9764rp1WBJk9UH/ENIc9gpm/gy/NI=; b=Op6V0AuF4XlLT+MZsRSab/NCi9drrN/5EZf8hapHnyZ1epDk8IaaOQyWMrbrxKL+xLYono yq00msQf8VHcQcEQPS6YRrcrRYPsD/i4EuCqgsqHAjoY4PIc9kUs7LeWkqKnOHwaqGRtKn gZ8AagocXhquwlAfqxnYYiLFPsELhFA= Date: Thu, 16 Jul 2026 16:23:31 +0800 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Subject: Re: [PATCH v2 2/2] mm: vmscan: fix node reclaim ignoring swappiness parameter To: Tao Cui , Johannes Weiner , Michal Hocko , Roman Gushchin , Shakeel Butt , Andrew Morton , Chris Li , Kairui Song Cc: Muchun Song , Kemeng Shi , Nhat Pham , Baoquan He , Barry Song , Youngjun Park , David Hildenbrand , Qi Zheng , Lorenzo Stoakes , Axel Rasmussen , Yuanchu Xie , Wei Xu , Davidlohr Bueso , cgroups@vger.kernel.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Ridong Chen , stable@vger.kernel.org References: <20260716031729.1064007-1-ridong.chen@linux.dev> <20260716031729.1064007-3-ridong.chen@linux.dev> X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Ridong Chen In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Migadu-Flow: FLOW_OUT On 7/16/2026 2:06 PM, Tao Cui wrote: > Hi Ridong, > > Reproduced the bug and verified the fix in a QEMU x86_64 guest with > CONFIG_MEMCG disabled. Global vm.swappiness pinned to 1, then: > > echo "64M swappiness=" > /sys/devices/system/node/node0/reclaim > > swappiness= | buggy (anon/file) | patched (anon/file) > ----------- | -------------------- | -------------------- > max | 0 / 16385 | 16292 / 0 > 200 | 2 / 16384 | 16837 / 0 > 1 | 0 / 16386 | 0 / 16467 > > Unpatched ignores the swappiness arg (always file); patched honors it. > Matches the commit message. > > Tested-by: Song Hu > Reviewed-by: Song Hu > Thanks. -- Best regards Ridong