Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp1323713pxb; Fri, 26 Feb 2021 08:02:33 -0800 (PST) X-Google-Smtp-Source: ABdhPJyYZE4hA9YMn4rtWqq4unrD1IwUjQZ9YKvUpoiPOl/jQcj0lGt6v8KHMoKeUU6iWURb2dwM X-Received: by 2002:a17:906:3801:: with SMTP id v1mr4144735ejc.353.1614355352788; Fri, 26 Feb 2021 08:02:32 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1614355352; cv=none; d=google.com; s=arc-20160816; b=HTaa9/X9gA52HNr2Tc9vMLq7VgeM0URd3oLrAZFiyCAbg0BO+7CyRB+nVjHi0bRXgH L2onKFHk/woKwduSKUS398HLNxqykgXGBXQHTesFv2gsk+wiscGs8pEeKEyCsfjWiZtG k+LKouAjHABEKxWjQcEpYxiMraM2V3Y8F6qGOM8chaEMvvvRYmyj3Vig5MIIUSXgD4RO 9XB8EZt4H59tH979nBSeGoySSFzFxvv6qjl566Sk1p13Af/DRliEaQET4RvqlVHhcaZb dNr/OI4BLTe1u9qaVT7brpsSGhBS5ecBfy/LSyAFXj7/sOsWRVuWWn4DGYHrMiowJrzo duJw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=EamPPS3h7fVjeEpI3tKYviNwqcgB413i1NxGP8NfeLs=; b=b4doCExHzClDOT1vGWDv688bIKayduzqTxScJjhn+KMBnXUqhwsiSdPcud0vqMg4HV QDtNbGPUsQVtaHBrM4qnrJ9ODVFjz6sOv8Ox4Kyer/eCLMqwz3M6Yi5UikD6nGwIbuxh aZdu9Q5sVvLcSLHW56sxId8s0KJVmNJG4m4WixIf42IUptow6f3ZKnwbOk4GcprpzeJE cnllfYXUyY5oMJpywIty0jjzSN5Bo4MXOfX47lScY6wz1Ss7HaqWJUkukXlmeqjP5cZT LYZJNJoyaZnewB1BpSew55DCtRXoFfquZ6xZ4Gv6JafcGSCGqwkT0b7ia9DMsIsTY8cn VzwQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DOVv70XU; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id p17si6018825ejf.513.2021.02.26.08.02.08; Fri, 26 Feb 2021 08:02:32 -0800 (PST) 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; dkim=pass header.i=@infradead.org header.s=casper.20170209 header.b=DOVv70XU; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229993AbhBZQBS (ORCPT + 99 others); Fri, 26 Feb 2021 11:01:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42910 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230170AbhBZQBB (ORCPT ); Fri, 26 Feb 2021 11:01:01 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 249C3C061574; Fri, 26 Feb 2021 08:00:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=EamPPS3h7fVjeEpI3tKYviNwqcgB413i1NxGP8NfeLs=; b=DOVv70XUKQtdKygFHek5cnEJ85 0aTTboqAAgZ9qXyU+wvlxiSzxHtP1ym4mKpFkpWJ3QrVxX0cg6HLjlMEa8smCT5d8MQt61EDedcdp +cTZQS6QIMEX7e410ahtRCLv73gL+enUpX0Wom3/7llnYOMvelDCfuonLeizIRAR1SdOneLRseMPl +1yqeJqd3wMbIB2+lHxnZefZs6Iwd3dwFPaxBSuzi7SJX4SRmj6HqKThuHBIGN0eQ78vYpHSlanSp RTjuTNxJkP+R1AKO1M0JYbI4J9klNvewkX6eyN/pVf5SdMMndMiYrQSVRic0CMcp8m3gG1o/L4yHJ PlEtnshw==; Received: from hch by casper.infradead.org with local (Exim 4.94 #2 (Red Hat Linux)) id 1lFfXA-00CD8f-0u; Fri, 26 Feb 2021 16:00:04 +0000 Date: Fri, 26 Feb 2021 16:00:04 +0000 From: Christoph Hellwig To: Alistair Popple Cc: linux-mm@kvack.org, nouveau@lists.freedesktop.org, bskeggs@redhat.com, akpm@linux-foundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, dri-devel@lists.freedesktop.org, jhubbard@nvidia.com, rcampbell@nvidia.com, jglisse@redhat.com, jgg@nvidia.com, hch@infradead.org, daniel@ffwll.ch Subject: Re: [PATCH v3 2/8] mm/swapops: Rework swap entry manipulation code Message-ID: <20210226160004.GB2907711@infradead.org> References: <20210226071832.31547-1-apopple@nvidia.com> <20210226071832.31547-3-apopple@nvidia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210226071832.31547-3-apopple@nvidia.com> X-SRS-Rewrite: SMTP reverse-path rewritten from by casper.infradead.org. See http://www.infradead.org/rpr.html Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Feb 26, 2021 at 06:18:26PM +1100, Alistair Popple wrote: > Both migration and device private pages use special swap entries which > are manipluated by a range of inline functions. The arguments to these > are somewhat inconsitent so rework them to remove flag type arguments > and to make the arguments similar for both a read and write entry > creation. > > Signed-off-by: Alistair Popple Looks good, Reviewed-by: Christoph Hellwig