Message ID | 20230304193949.296391-1-sj@kernel.org (mailing list archive) |
---|---|
Headers | show
Return-Path: <owner-linux-mm@kvack.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by smtp.lore.kernel.org (Postfix) with ESMTP id AC5E7C6FA9E for <linux-mm@archiver.kernel.org>; Sat, 4 Mar 2023 19:40:06 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id D58076B0072; Sat, 4 Mar 2023 14:40:05 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id CE1626B0073; Sat, 4 Mar 2023 14:40:05 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id B818D6B0074; Sat, 4 Mar 2023 14:40:05 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0012.hostedemail.com [216.40.44.12]) by kanga.kvack.org (Postfix) with ESMTP id A51C46B0072 for <linux-mm@kvack.org>; Sat, 4 Mar 2023 14:40:05 -0500 (EST) Received: from smtpin28.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay02.hostedemail.com (Postfix) with ESMTP id 6CC4C1205E4 for <linux-mm@kvack.org>; Sat, 4 Mar 2023 19:40:05 +0000 (UTC) X-FDA: 80532231570.28.55E7483 Received: from ams.source.kernel.org (ams.source.kernel.org [145.40.68.75]) by imf03.hostedemail.com (Postfix) with ESMTP id B9A1D20016 for <linux-mm@kvack.org>; Sat, 4 Mar 2023 19:40:03 +0000 (UTC) Authentication-Results: imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="Fw/AwxpS"; spf=pass (imf03.hostedemail.com: domain of sj@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1677958803; h=from:from:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-transfer-encoding:content-transfer-encoding: in-reply-to:references:dkim-signature; bh=9eArX/oJLg9CG3DUzVE45jmOXdqZF4gqZbGoTCjH31c=; b=uGTSbCf+eWMcJifn2yAGRN8EE0O8stmSQ1qpgwwwPtvKY4lZKQe5xCRtP7sSKeNBAnM6g1 QHVfJa6d1ihGpoZZHNOrU5Mk6DR9Jko3XEx3pLIJszfF9b+WQh8AO/Af78BOVV9CGilWep FWysir7+GLIXmMXyVCz0+huWnivdKzk= ARC-Authentication-Results: i=1; imf03.hostedemail.com; dkim=pass header.d=kernel.org header.s=k20201202 header.b="Fw/AwxpS"; spf=pass (imf03.hostedemail.com: domain of sj@kernel.org designates 145.40.68.75 as permitted sender) smtp.mailfrom=sj@kernel.org; dmarc=pass (policy=none) header.from=kernel.org ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1677958804; a=rsa-sha256; cv=none; b=ZQGYrKBzjWfZvKObW5x89Zy7/ueWTLGsmBdOygqDVoo4naosA9cq+dVVnUn9pFMVqVm/S3 omrWKl/BaAqA4BHhAk0SQzX/BrBFvuJ0dSCKZjI2SF0r6T/8MIptxvf1pL+qiFfTIRk52v Y7JEHlr5rV1a3AZLEhwvKuHM+lLHADY= Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id E5262B801BF; Sat, 4 Mar 2023 19:40:01 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 1D67BC433EF; Sat, 4 Mar 2023 19:40:00 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677958800; bh=6TeDbR5GXJJF54b96kNnySeQoyETESDXw9WrPqnw/VI=; h=From:To:Cc:Subject:Date:From; b=Fw/AwxpST4BRnmybFAJfo3Nj/+vYbZKVoaSa9sAipEycxpJGLaFSszOvb/ysWG2jJ VXBIITE+AAcbftEmWT0cfga+EKGTg4i8xf6/YJv3zsJvQFq8bqeUP9zdUnL+BiokZj yfNWULFx3tTWr5pHWx7nocG0143d9WM5WFZlKnHGfAO0oC1CSNRdFpFdPo0n7fkr9Q 2mi4zYhPjP+8E/yjG8B+S/L54IPPOJuLOsi8fLXJp/mY0qXBl4aa75IsJyskcq3OIb C0BdMqOtsdBgMpxjFZI8AmHXkDxlSTtS7PfBR5CD6GyuFwsdwP/Hid9xU1G99hXRtT 0+oV4gHxOIVSg== From: SeongJae Park <sj@kernel.org> To: Andrew Morton <akpm@linux-foundation.org> Cc: SeongJae Park <sj@kernel.org>, "Matthew Wilcox (Oracle)" <willy@infradead.org>, "Vishal Moola (Oracle)" <vishal.moola@gmail.com>, Kefeng Wang <wangkefeng.wang@huawei.com>, damon@lists.linux.dev, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/2] mm/damon/paddr: Fix folio-use-after-put bugs Date: Sat, 4 Mar 2023 19:39:47 +0000 Message-Id: <20230304193949.296391-1-sj@kernel.org> X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Rspam-User: X-Rspamd-Server: rspam03 X-Stat-Signature: 9qhy9x69tjeux9eum6dt3wtdozay76o4 X-Rspamd-Queue-Id: B9A1D20016 X-HE-Tag: 1677958803-556108 X-HE-Meta: U2FsdGVkX19zug39LrsG63OwAmkYaQCRIeGycAqBw+7frnpw4dVIWaQAjp4+IESw+TIArohFt4o/Yz/hB708h+simPMxhwrw5pqzIOlzBNyKS+e9xIscH481ibGm+PJeBXvMOq0u5mtljbAs97njiSezW3kSvtQroow/7jnlegi+QVGJ5b86O6Uwaui4i0HM+HKwNlZdu/92qDX+oVDjDAyzXugTsa0sQhy7vQK8o8SZoqMOVPqHJllpA4jZL2fO28EtZV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wBBXypA= X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: <linux-mm.kvack.org> |
Series |
mm/damon/paddr: Fix folio-use-after-put bugs
|
expand
|
On 2023/3/5 3:39, SeongJae Park wrote: > There are two folio accesses after folio_put() in mm/damon/paddr.c file. > Fix those. I saw you send the bugfixes separately :) > > SeongJae Park (2): > mm/damon/paddr: fix folio_size() call after folio_put() in > damon_pa_young() > mm/damon/paddr: fix folio_nr_pages() after folio_put() in > damon_pa_mark_accessed_or_deactivate() > > mm/damon/paddr.c | 5 ++--- > 1 file changed, 2 insertions(+), 3 deletions(-) >