Message ID | 20240216194025.9207-1-sj@kernel.org |
---|---|
Headers |
Return-Path: <linux-kernel+bounces-69250-ouuuleilei=gmail.com@vger.kernel.org> Delivered-To: ouuuleilei@gmail.com Received: by 2002:a05:7300:c619:b0:108:e6aa:91d0 with SMTP id hn25csp745625dyb; Fri, 16 Feb 2024 11:41:19 -0800 (PST) X-Forwarded-Encrypted: i=3; AJvYcCVg/CXIlpr3nT4viw+9pGmBa/QzlWwpUXY4eK11EoyF73zqWTrcx83qO8JcL5c0rZrHot/xqZnqsFWYshxYFVWnJhfQtA== X-Google-Smtp-Source: AGHT+IFLHtqVY8/4NtrAeWASXBB0hzlHOI7eqyxisJsrkQlUxbfJxUHveia0zi4oAlbf45srRN4s X-Received: by 2002:a17:90a:e508:b0:299:2927:4d2c with SMTP id t8-20020a17090ae50800b0029929274d2cmr3821301pjy.48.1708112479052; Fri, 16 Feb 2024 11:41:19 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1708112479; cv=pass; d=google.com; s=arc-20160816; b=FuIY9W5YivDbidqOZsi77fJ3LcwwZ/Ef16scQKLyxQjcDQ8r9iCREFD4lSYpolAwCw Mzvgv9/bx7OYADesWDwwuq6eKEuC6BupiPGUqRWhLVJuL6F//kMc4Ou4EkaEPFHYUKUv AeGFlGdmfPU/Pg82Fdeeh71FHUKcBcXJ4p7plbG/Dl/RZvuVMoROc5IlTNkjuKQ4wKr2 LKKnCnR4zLAUD/tcpkJeQibZmHgvEXr18oPX1m6DawfTvypmifrLMueGAPicH1U7ftG0 2kh6Vv1NfkPnVEHCpi7GdDRNgYOJb3bOUABT0jgIH0nHK792W4W0jjY4lrkjAoUdse7s tkyQ== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:message-id:date:subject:cc:to :from:dkim-signature; bh=U5wC9G3bo6Oo6yLc8LDtHVPfR9RowBbsJuMSlayyDgA=; fh=ODV1RAwja3ZwOE22aR3/QhHw65I0O69uhHzyVgu9tKw=; b=PjMOYzuI0G1PYxqcufG5IviHZnfOjwpBMnV+WhKCYQQPtjKcTQ3dmBHNDRF1426nPA /hl9T+CzFUy9KVpac3z9ttINkqN5i1s8K8nOm9jpAc+mp0DkHLs1pAQFw3kFsX2iRwh4 WlvjbuMSD8XrFcnHfLT40srpRWDzUwXhld/WZhMI/B7QD9Du0HSpE3vO79/GuwFpVmoJ +fTy4B3dxIQAbsdPknhKJGr0OTymvitKv1eDrDXE7scHu/YRudwvt0sQgf+T6CzSOM69 e9mcYkUYcKO7Z2xHy0sMou1OfmfA/iM/bbrXw1nf1wevERw++mF+TVJSW8R4GbL9UdjV GWCA==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kVej5bwl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69250-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69250-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from sv.mirrors.kernel.org (sv.mirrors.kernel.org. [2604:1380:45e3:2400::1]) by mx.google.com with ESMTPS id rm3-20020a17090b3ec300b00298f889026dsi412204pjb.58.2024.02.16.11.41.18 for <ouuuleilei@gmail.com> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 16 Feb 2024 11:41:19 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-69250-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) client-ip=2604:1380:45e3:2400::1; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=kVej5bwl; arc=pass (i=1 dkim=pass dkdomain=kernel.org); spf=pass (google.com: domain of linux-kernel+bounces-69250-ouuuleilei=gmail.com@vger.kernel.org designates 2604:1380:45e3:2400::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-69250-ouuuleilei=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sv.mirrors.kernel.org (Postfix) with ESMTPS id DBEBC2852A1 for <ouuuleilei@gmail.com>; Fri, 16 Feb 2024 19:41:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0D46B13B28D; Fri, 16 Feb 2024 19:40:33 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="kVej5bwl" Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 584EF1369AA; Fri, 16 Feb 2024 19:40:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708112430; cv=none; b=U0LmtdFajfK9PdzidLNgj9pEkqannRyjwkcVhuJ5gWJT0eVklCZGwPMIa30IrV2sfYGou1vGMSK2JX54PY06GfRpA+/wEn1RQThxp1kccIPy1oou3Me34Nu8u5w3bP8FvmFWbJyIdKjYu5DQ5zkoiL13r+pDVN+NixT8VI1YL1U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708112430; c=relaxed/simple; bh=KIYFFZlklNJB3GcWj6tjjHQ4i09E6AICjsErgAI/kHs=; h=From:To:Cc:Subject:Date:Message-Id:MIME-Version; b=s4B7Ii9QDjlWy5e/iYak7iOkOpFmC2Q46oP6ziA9cuKnqTSyYJo2PuHV8/WbbgCfknMrGlIfgX5sliXcJ7caIYTtE3DTV21yIX30kEqzy7kR7P0vVZasiaA1tzcyp8NfhGCIvqORQwb+Kqz9qRAGU5mjM7xfqNSALBV87SFH0eM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=kVej5bwl; arc=none smtp.client-ip=10.30.226.201 Received: by smtp.kernel.org (Postfix) with ESMTPSA id 562A6C433F1; Fri, 16 Feb 2024 19:40:29 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708112429; bh=KIYFFZlklNJB3GcWj6tjjHQ4i09E6AICjsErgAI/kHs=; h=From:To:Cc:Subject:Date:From; b=kVej5bwlwvTjKN8bv1jBXdDFINYZYqRwCXuvFIIAMP9Erd/haiqJJyIoNvCOJv7/W G3smFU0REZuYhPxBKlVcGHGGutjXzBiN0GqrrZk3JzDr8GqRhJrY8FPnDQKsjllrgd vp/Yjm9jlZ6g7Q9iC+2YTC6ZS7V2BIOTo4zVxYEKtEw4zy01/RHB7QZ/nNUhbyAOwB lffB1AdUG8NSK1vsC+1CLD2y4UUnhx9FdKdtallDZOOf8qZCMvIog+BmFGMLPGPhfO ZEVqxjqPl/Zd1CzpYtj0PCYKUYfRDXMWh0YAT9LAmqqLlKGBIQ7m8Mn1vM+CWqWeuk YMJ2FTeqh+pxA== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, damon@lists.linux.dev, linux-mm@kvack.org, stable@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mm/damon: fix quota status loss due to online tunings Date: Fri, 16 Feb 2024 11:40:23 -0800 Message-Id: <20240216194025.9207-1-sj@kernel.org> X-Mailer: git-send-email 2.39.2 Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: <linux-kernel.vger.kernel.org> List-Subscribe: <mailto:linux-kernel+subscribe@vger.kernel.org> List-Unsubscribe: <mailto:linux-kernel+unsubscribe@vger.kernel.org> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1791085750523733078 X-GMAIL-MSGID: 1791085750523733078 |
Series |
mm/damon: fix quota status loss due to online tunings
|
|
Message
SeongJae Park
Feb. 16, 2024, 7:40 p.m. UTC
DAMON_RECLAIM and DAMON_LRU_SORT is not preserving internal quota status when applying new user parameters, and hence could cause temporal quota accuracy degradation. Fix it by preserving the status. SeongJae Park (2): mm/damon/reclaim: fix quota stauts loss due to online tunings mm/damon/lru_sort: fix quota status loss due to online tunings mm/damon/lru_sort.c | 43 ++++++++++++++++++++++++++++++++++++------- mm/damon/reclaim.c | 18 +++++++++++++++++- 2 files changed, 53 insertions(+), 8 deletions(-) base-commit: 0f8cac70960349ba21deb424bd41bc4f4362c113