From patchwork Mon Aug 22 12:59:04 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Rolf Eike Beer X-Patchwork-Id: 12950646 Return-Path: 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 AC5DCC28D13 for ; Mon, 22 Aug 2022 13:39:43 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 3EA276B0074; Mon, 22 Aug 2022 09:39:43 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 397F08D0002; Mon, 22 Aug 2022 09:39:43 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2602E8D0001; Mon, 22 Aug 2022 09:39:43 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from relay.hostedemail.com (smtprelay0015.hostedemail.com [216.40.44.15]) by kanga.kvack.org (Postfix) with ESMTP id 177246B0074 for ; Mon, 22 Aug 2022 09:39:43 -0400 (EDT) Received: from smtpin15.hostedemail.com (a10.router.float.18 [10.200.18.1]) by unirelay01.hostedemail.com (Postfix) with ESMTP id E3AC91C61A1 for ; Mon, 22 Aug 2022 13:39:42 +0000 (UTC) X-FDA: 79827336204.15.D51F83C Received: from mx1.emlix.com (mx1.emlix.com [136.243.223.33]) by imf06.hostedemail.com (Postfix) with ESMTP id 7B8BB18090A for ; Mon, 22 Aug 2022 13:19:59 +0000 (UTC) Received: from mailer.emlix.com (p5098be52.dip0.t-ipconnect.de [80.152.190.82]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.emlix.com (Postfix) with ESMTPS id C64DE60206; Mon, 22 Aug 2022 15:04:37 +0200 (CEST) From: Rolf Eike Beer To: Andrew Morton Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: [PATCH 0/6] Minor improvements for pagewalk code Date: Mon, 22 Aug 2022 14:59:04 +0200 Message-ID: <3200642.44csPzL39Z@devpool047> Organization: emlix GmbH MIME-Version: 1.0 ARC-Seal: i=1; s=arc-20220608; d=hostedemail.com; t=1661174417; a=rsa-sha256; cv=none; b=wc2FqLmR9HkRe/+95sH6HGfp778OmKehtl3TPM99wMZ9oQTid37gnlkW2Y1+xWcypHaSIi Wowisp0hv3XEdLZCOkwUOP3SMPUrmbTavxlSsqcEF8MgSQHnuW0fxDcO2pAvho+5VJu6KN 3zpgp39j66UCRWAYiILShVU4s1SwRVI= ARC-Authentication-Results: i=1; imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of eb@emlix.com designates 136.243.223.33 as permitted sender) smtp.mailfrom=eb@emlix.com; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=hostedemail.com; s=arc-20220608; t=1661174417; 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-type:content-transfer-encoding:in-reply-to: references; bh=lLTZQsarswFHzX45vNmrTlXdKP4xjE9I5GEQt0LXmuA=; b=DPJJfZCIOZ2wrtkFkXtmLZs79LHuyEpHzmzLU+fTzOPpuNB0HA8eMN4o1skQlKWJx59Gos 018hd4ZgXf0aQpqIBnasqKsp0EiT1bFxyubBKG9AgeYjDY7VVtvop61dI4/IS7B92ddoUc I+UxHby+6mZ35LQ3mAg8WHV5ddtmS/o= X-Rspamd-Server: rspam04 X-Rspamd-Queue-Id: 7B8BB18090A Authentication-Results: imf06.hostedemail.com; dkim=none; spf=pass (imf06.hostedemail.com: domain of eb@emlix.com designates 136.243.223.33 as permitted sender) smtp.mailfrom=eb@emlix.com; dmarc=none X-Stat-Signature: fdzupjchtro6n91c743qxufky31ajk5x X-Rspam-User: X-HE-Tag: 1661174399-995020 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: For some project I had to use the pagewalk API for certain things and during this have read through the code multiple times. Our usage has changed several times depending on our current state of research as well. During all of this I have made some tweaks to the code to be able to follow it better when hunting my own problems, and not call into some things that I actually don't need. The patches are more or less independent of each other. Especially the last one may heavily depend on personal taste, so if you don't like it, just ignore it. I would welcome if you could just pick those that you think are fitting and provide feedback on either of the remaining ones. At the end none of them should make any functional difference. Regards, Eike