Received: by 2002:a05:6a10:5bc5:0:0:0:0 with SMTP id os5csp4346919pxb; Mon, 25 Oct 2021 02:27:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwkTSdanQIOk3z9MOK88HeTcw64sQsUeJHWGsuVFXwh3txIavQzTVmo+y2zWhdSp0C9YbSI X-Received: by 2002:a50:d50c:: with SMTP id u12mr24993929edi.118.1635154027984; Mon, 25 Oct 2021 02:27:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1635154027; cv=none; d=google.com; s=arc-20160816; b=FAsihaTvwDj2A+fzktmTQE+6+BHAXTupZwokT98fq+46tQFT4JiC5cdWh37jh0gvQr p8bwCQMPGUY06WwHB20VPgGZuGbqVQxyiSvgR4TT4iBzU6T8ET7HuvbbZjRkF4csYKRn YntSoFHEWghQ/IoFV3MSNlARwhrRACgW8Ywzy+48dJxYdgQS+4G33+hyj7qjWtsuptsT 3GjotzVvpAKIHiIH3JEMcGJU0UjaW94k4X4E47QA0p5mVuLV+2OoHsdZuC0CaTd+hWD4 gKfucEXJunQnEfBuN70yMajOs+eGgYmwjFo9+MZo4yBXtDKcmM0hdOIoYJN/PYXDVAvf 7o6Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from; bh=/OnnM0Ln+0CCQJ8R7Yr1a7U4MIfWEgOmShoSPvSPLYA=; b=JNagttnXPd4nyVuC6h0kCgJkbzWI20T5VrLph2GoMDrFRQm6D3KLluWvJBPn4O+Jcw zHRxSEF01EPLZ7r3ZJPpglJ91qYd+Qc7wZWTz3khq250bEdObm7LZkzSzr+RTHHBZ0Sp U2570Ek4bwL5+PgflrEwxJvnDcKLD6JykZWP5igVzYCMMIo6yOuL+FE9fgnUs30li5o5 CQG7++8Nh2HZ30WPBCSIFivrpdsq7E6A4M9HYQxGY1iBAikAiFuO55/NC++4FTBWrirr b1IgKO6YqsGcDHXuZZn7gAfcSo2HmWERKp6s4VCL8dt/8nbhpFMclEApi9vBBdI4fr5n rQ0A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id ds5si31905282ejc.99.2021.10.25.02.26.39; Mon, 25 Oct 2021 02:27:07 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=alibaba.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229499AbhJYJYF (ORCPT + 99 others); Mon, 25 Oct 2021 05:24:05 -0400 Received: from out30-44.freemail.mail.aliyun.com ([115.124.30.44]:47862 "EHLO out30-44.freemail.mail.aliyun.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229963AbhJYJYC (ORCPT ); Mon, 25 Oct 2021 05:24:02 -0400 X-Alimail-AntiSpam: AC=PASS;BC=-1|-1;BR=01201311R161e4;CH=green;DM=||false|;DS=||;FP=0|-1|-1|-1|0|-1|-1|-1;HT=e01e04400;MF=rongwei.wang@linux.alibaba.com;NM=1;PH=DS;RN=9;SR=0;TI=SMTPD_---0UtZwp5E_1635153697; Received: from localhost.localdomain(mailfrom:rongwei.wang@linux.alibaba.com fp:SMTPD_---0UtZwp5E_1635153697) by smtp.aliyun-inc.com(127.0.0.1); Mon, 25 Oct 2021 17:21:38 +0800 From: Rongwei Wang To: akpm@linux-foundation.org, willy@infradead.org, song@kernel.org, william.kucharski@oracle.com, hughd@google.com, shy828301@gmail.com Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, stable@vger.kernel.org Subject: [PATCH 0/2] fix two bugs for file THP Date: Mon, 25 Oct 2021 17:21:32 +0800 Message-Id: <20211025092134.18562-1-rongwei.wang@linux.alibaba.com> X-Mailer: git-send-email 2.32.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Patch 1/2 had been sent about weeks ago, the original link here: https://patchwork.kernel.org/project/linux-mm/patch/20211011022241.97072-2-rongwei.wang@linux.alibaba.com/ It seems to be ignored, and send out again here. Patch 2/2 is sent out first time. And Patch 1/2 and 2/2 both to fix different bugs for commit eb6ecbed0aa2 ("mm, thp: relax the VM_DENYWRITE constraint on file-backed THPs"). In addition, I find the stable version (I had check 5.14) has contained above commit (eb6ecbed0aa2), so I will add "cc stable mail list" when sending Patches. Thanks! Rongwei Wang (2): mm, thp: lock filemap when truncating page cache mm, thp: fix incorrect unmap behavior for private pages fs/open.c | 16 ++++++++++++++-- 1 file changed, 14 insertions(+), 2 deletions(-) -- 2.27.0