From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from out-178.mta0.migadu.com (out-178.mta0.migadu.com [91.218.175.178]) (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 7844115B963 for ; Thu, 29 Aug 2024 07:24:35 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=91.218.175.178 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724916277; cv=none; b=nIDxhuFw6ip4KL1jTLr2uR7SXnLSeTr617tfv7EhKAUfpGd9HcXWCNSUNK0qsHy+7pIUX51JjBZamZb9/XheKnc7yHs0Wd2WKCBmyr0zfNI8N37Wm7zzoctDxaUTXdheK7ZHgpCZmQy59dhGzy0jRviDbgQ0a6YNPkL3HwB7J48= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1724916277; c=relaxed/simple; bh=8hWT+KL+d28V5Jn4Cn0QgqmfOIGYIHqB8Dkyv/MxRGI=; h=Content-Type:Mime-Version:Subject:From:In-Reply-To:Date:Cc: Message-Id:References:To; b=lJRrhaYIjXnpTMkHZcsJCfNlGVaGVseSyFqjAhw9NxOpywf+mkavFrL0PalUa3KnPQr8PEs+qH7D9umJryItfxdQHGqlwHtvw6JZBZCcLfz8uC3jrqyMaReMf+qW6XBH0bY4LDTDBEQyX8jbE80wKze0DU+J6yV5i2gjsJi8yp8= 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=AZKaNv4j; arc=none smtp.client-ip=91.218.175.178 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="AZKaNv4j" Content-Type: text/plain; charset=us-ascii DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux.dev; s=key1; t=1724916273; 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=ibRF3sJS///pheO9Cf0+PnOoPzFh6pbCWCOa8dk4b5Q=; b=AZKaNv4ju75SNUiZkk8cP05CS3tLWGtxkgBiXb0D25lMffZHabcgUima2EVYz1Mk2by9rC kOF3ogFkN+0Y0/yORAjtZP3nGBtY7KVuoWuDH0ZGkdWjUQFQbzTH7tvzDHvFAc8nPdYpsj 9guwGqp5zfBuxOIrdfRqa4nOqqi+Ml0= Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3776.700.51\)) Subject: Re: [PATCH v2 04/14] mm: filemap: filemap_fault_recheck_pte_none() use pte_offset_map_ro_nolock() X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. From: Muchun Song In-Reply-To: Date: Thu, 29 Aug 2024 15:23:32 +0800 Cc: David Hildenbrand , Hugh Dickins , Matthew Wilcox , "Vlastimil Babka (SUSE)" , Andrew Morton , Mike Rapoport , Vishal Moola , Peter Xu , Ryan Roberts , christophe.leroy2@cs-soprasteria.com, LKML , Linux Memory Management List , linux-arm-kernel@lists.infradead.org, linuxppc-dev@lists.ozlabs.org Content-Transfer-Encoding: 7bit Message-Id: <9FA797E4-D835-481C-81B3-7B40A9648FC4@linux.dev> References: To: Qi Zheng X-Migadu-Flow: FLOW_OUT > On Aug 22, 2024, at 15:13, Qi Zheng wrote: > > In filemap_fault_recheck_pte_none(), we just do pte_none() check, so > convert it to using pte_offset_map_ro_nolock(). > > Signed-off-by: Qi Zheng Reviewed-by: Muchun Song