From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-pg1-f174.google.com (mail-pg1-f174.google.com [209.85.215.174]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id CBE0914A8B for ; Mon, 15 Dec 2025 12:35:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.215.174 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765802161; cv=none; b=CZZE8B4/QH1N/rHBU0ubub6z8mFqwYm3DqVH4zQtJUySpGNFCqNCJWgSw1aO2PnS+SnAIKY8n/P0eOMESnmRrzXkjEPDNU41ZdJVkA7M12juIvcsz2Rmu5mCFT3uKzfUwkUytl1Q96ECpVEjMeInBvEmhxcxXuvcCtgHSMoWHFM= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1765802161; c=relaxed/simple; bh=1vQ3QzAv/b3UwdCOO+blS9Q7dq9jSf/qEeAWePGVKAs=; h=Date:From:To:Cc:Subject:Message-ID:References:MIME-Version: Content-Type:Content-Disposition:In-Reply-To; b=OaeXobGmK3/jjI839mxOcWhTzkEjYEXlAiGhkXVa/xEr1YI0F2Ec7OfTjTZXfqYIFPtQLAdjLB5D2O14GuhnsvMKVh0ug7LtQ2hG6UqKPXQ06l2YyFlWgQsyUL9VIJl3DWOlKYZfBggvbIPKgGbJeNK1/ea4v7wzj0cwaPo4RY8= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net; spf=pass smtp.mailfrom=gourry.net; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b=cTAp71iB; arc=none smtp.client-ip=209.85.215.174 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=gourry.net Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gourry.net Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gourry.net header.i=@gourry.net header.b="cTAp71iB" Received: by mail-pg1-f174.google.com with SMTP id 41be03b00d2f7-c13771b2cf9so1077326a12.1 for ; Mon, 15 Dec 2025 04:35:59 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gourry.net; s=google; t=1765802159; x=1766406959; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=Xa/v4P9haTj4ZTqReHiXOr5VMbg0ab/1utW/mGaXKgw=; b=cTAp71iB87MTYzXZ2ti8IH36uqvlkNHlZTag4vpNaHbOY80D0jWZRI6MRrINiZc7WN +/AVzu1xrXn/XfrNXdcwSAvpATFhtxKYXMcOAwC3jCiM09O3hxP1SwSHEglINBOHu3f1 AufvCMcaC9b8qCnD0yVQC7UGiNXCk6JVDB0iooRbXEep+gYeGBaL8DlqI6fMjEIpsbMs ZNtmXT/U7jtHtNKhrXdZRe6LK/0ADfhz5W9aeVcjsQffFYiUeCjNZ96xvzJ/DHjRqiVd Zk5OHjOYgjXyOknGhgUlM3Zzj3voW5Y3yAdl2yOY4lALng9vJGFyUqwWoLcUql/xe8vQ j2MA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1765802159; x=1766406959; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=Xa/v4P9haTj4ZTqReHiXOr5VMbg0ab/1utW/mGaXKgw=; b=SqWNe0vAHQnOj2VY0Q4ZOxjzGFET1oC1mIvQruvqqEaETrmF8cGSRO06NubR9J9eqf lcPqGDfzHPy1cBCXzJIS6vM1RoH8zI+LLiG4XAMGx5CHFmreHj1aa+MaK29G+AAPraG9 hHKgXUkmMpme2ho1GaDTr8d98lgYltKfqkiRNMHSbeRUamgK04C4ui4TSk9+Fob4vXQQ qFIgCRMJUU9/9aVtfiZ8cP+lxBAmBSA1SpdfFN/6d95eaBDAzB6dGJMJL37dpjQU7GsJ fy49ih2DUc6RYMfeObihC8Qxk5+jnyt3UMlzdGie+kaMayeC6DDMmR7IwW8O6Nk5a4pP 62Ag== X-Forwarded-Encrypted: i=1; AJvYcCUn1PwsGn7SXS4sXB52ihh5Vf1jnQRB652G6UmXpHKDFdplffmQENgAn6BZhSB1hclSwf0jeyanXCynRI4=@vger.kernel.org X-Gm-Message-State: AOJu0YytKCLQ6o86nZOjrXhVQBBcRX/V1BZCBPOLvKBc/Nt0Kg96kE+P o3mUYSiGZUguz0Tz5RQbbtDRLDDFHDhI70eeQSACJfQ/a7OgzsElaWxHIioh95C46Nw= X-Gm-Gg: AY/fxX5A14jD0voUriz1ghTfC7v9F6fK5shvCe8Z0lMVpTgrhcQ3ti3YrQ/aPYLUmJM fCv4sGtJ1OJb226cEvZFy1OdaWsl+1y3jPF8uItQDn+br3tlKlez1LSo7EfjF354h59/XCq0dmD qJjibrghEzRUrjprI0oAMJfOPtQCOam7SsleTB6tqfqonNBqPk7y3OZUizaOJPz7XiUxSY9uRyi Md8g1eEB99IO13CCbo04e/H9mUWk7xKRmPk72MadxO47+YOvbeN+2+B6yoJCQgrnHPoEHEIvhPh CiGEvWXYtCVinf4sux1A4v1p0o5iRJsFcnnzL1xrZ8AEhtwZe0s1jgHG1AekvC/2wb+LMcH4ucr tMjmrRDPJOwMYgjg65gQJM1Ed88AoMltpzOA1JTXmZomcX8lZD5uiJi1jp1/jA/TTtJcMhEdHzr capfBm16RGttlswCY3FrrpZSkptXCbvQ== X-Google-Smtp-Source: AGHT+IE4dk/6gfkLnl+zkK4uNzyQFfetkqU807+d/eK6tQfhKPc3OGO5uuhdQtoBZu6M8kDz5ovOog== X-Received: by 2002:a05:7300:8802:b0:2ab:ca55:89b7 with SMTP id 5a478bee46e88-2ac30158430mr7096429eec.42.1765802158988; Mon, 15 Dec 2025 04:35:58 -0800 (PST) Received: from gourry-fedora-PF4VCD3F ([205.220.129.38]) by smtp.gmail.com with ESMTPSA id 5a478bee46e88-2ac190d3d14sm27968547eec.2.2025.12.15.04.35.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 15 Dec 2025 04:35:58 -0800 (PST) Date: Mon, 15 Dec 2025 05:35:21 -0700 From: Gregory Price To: Lorenzo Stoakes Cc: Jayaraj Rajappan , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: Calls to do_swap_page() from handle_pte_fault() on a system where swap is not configured Message-ID: References: <776ac4c8-6e55-468e-bb9d-eea49de0ed89@lucifer.local> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <776ac4c8-6e55-468e-bb9d-eea49de0ed89@lucifer.local> On Mon, Dec 15, 2025 at 10:16:26AM +0000, Lorenzo Stoakes wrote: > > > > s/do_swap_page/do_softleaf_page > > s/DO_SWAP_PAGE/DO_SOFTLEAF_PAGE > > > > No clue what's up with the special sparc stuff. > > :)) > > But in general LGTM, obviously assuming David's points are addressed. > > Is this a patch you'd like to do? Or I can batch up with the next softleaf > series? > I can send you an updated patch this week, just on my way back from LPC now so need some R&R. Feel free to snipe it ahead of that if you're that bored :] Probably better to bring it in with your next softleaf series anyway since it's all related. ~Gregory