From mboxrd@z Thu Jan 1 00:00:00 1970 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 vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DA5F3C64ED6 for ; Tue, 28 Feb 2023 15:57:57 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230237AbjB1P55 (ORCPT ); Tue, 28 Feb 2023 10:57:57 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:51724 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230286AbjB1P5n (ORCPT ); Tue, 28 Feb 2023 10:57:43 -0500 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 8ACC032CC4 for ; Tue, 28 Feb 2023 07:56:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1677599795; 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=V7pSWC5euLmUDx9YG5RWzWaGkcDB950fdhQfUYWKICc=; b=L7YliKV/d3202CCEuU9Fu2ac86tPOoUC+750FU1UZiFNnKKVsSvv9T7SgjZOSG/zn0wRsS KY458A7FWA74fitA5SLEBpgpLgM7VD7z6cx4ectDFvde8wsW2gXG2GVzJ6wVslmhqI/Rb1 YK4AHB1E0McrSW3VjATaBEavJpoDBjY= Received: from mail-wm1-f70.google.com (mail-wm1-f70.google.com [209.85.128.70]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_128_GCM_SHA256) id us-mta-577-D9xgmCH2NraHVts0J3gRow-1; Tue, 28 Feb 2023 10:56:34 -0500 X-MC-Unique: D9xgmCH2NraHVts0J3gRow-1 Received: by mail-wm1-f70.google.com with SMTP id p22-20020a7bcc96000000b003e2036a1516so7073270wma.7 for ; Tue, 28 Feb 2023 07:56:34 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:organization:from:references :cc:to:content-language:subject:user-agent:mime-version:date :message-id:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=V7pSWC5euLmUDx9YG5RWzWaGkcDB950fdhQfUYWKICc=; b=u9fIGd46J5GC2ZgLL4/BQqZGrxZNEq2zu+r5PmzLX12Qy2YaMwVIvaILn0jkLo2bIF QIPDnppjSkkzFl4qLjsVi0KLXTuvCau+MPJ6Sm3fahVx+gceAo1a+jnO7gnz4PPxbLhW ae7IzAFYYMAK/u9im0/yfvrXCDcgoF9Ld7OZMbs8qVfoErk90cHnvxsC6/XWDRDfO2Fu 1Ls1/3OsvYm8HB1LJ0xdA/0tiS2H++Ax/WturBNxsbXom7hQ2t4u71bEVZzf4rSMDMk4 SBFAxMCm1O2ycxAfFT1eiM2lvzxSGkba7zc3mWeuaaeElFAf8vKSshGAuV4fXbit6GA1 c2Qw== X-Gm-Message-State: AO0yUKVkafUP7ulZLcmUvX92Nq7mf1Dg1yhO3OyNaMy61YxTSS6FYqO9 vJf68E5O/KM+5ntUom15uWdK4Y9CRc5327SO79njvJZpXHc5Z8fwN9KZezuOHrT+vFBmXxBMiCD uhgpFLVeA0mrWVO8toQqQJw== X-Received: by 2002:a05:600c:1e20:b0:3df:9858:c037 with SMTP id ay32-20020a05600c1e2000b003df9858c037mr9985247wmb.12.1677599793386; Tue, 28 Feb 2023 07:56:33 -0800 (PST) X-Google-Smtp-Source: AK7set/U2v9f8GltbBAhuiD5VLcyopD+EwumVs1dLk0qMzdF/fI8DkaFn74NX3LW8zhnIM6FtbCCQg== X-Received: by 2002:a05:600c:1e20:b0:3df:9858:c037 with SMTP id ay32-20020a05600c1e2000b003df9858c037mr9985221wmb.12.1677599793078; Tue, 28 Feb 2023 07:56:33 -0800 (PST) Received: from ?IPV6:2003:cb:c706:b800:3757:baed:f95e:20ac? (p200300cbc706b8003757baedf95e20ac.dip0.t-ipconnect.de. [2003:cb:c706:b800:3757:baed:f95e:20ac]) by smtp.gmail.com with ESMTPSA id hn6-20020a05600ca38600b003e21f01c426sm13465165wmb.9.2023.02.28.07.56.31 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Tue, 28 Feb 2023 07:56:32 -0800 (PST) Message-ID: Date: Tue, 28 Feb 2023 16:56:30 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: [PATCH mm-unstable v1 19/26] riscv/mm: support __HAVE_ARCH_PTE_SWP_EXCLUSIVE Content-Language: en-US To: Palmer Dabbelt Cc: linux-kernel@vger.kernel.org, akpm@linux-foundation.org, hughd@google.com, jhubbard@nvidia.com, jgg@nvidia.com, rppt@linux.ibm.com, shy828301@gmail.com, vbabka@suse.cz, namit@vmware.com, aarcange@redhat.com, peterx@redhat.com, linux-mm@kvack.org, x86@kernel.org, linux-alpha@vger.kernel.org, linux-snps-arc@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-csky@vger.kernel.org, linux-hexagon@vger.kernel.org, linux-ia64@vger.kernel.org, loongarch@lists.linux.dev, linux-m68k@lists.linux-m68k.org, linux-mips@vger.kernel.org, openrisc@lists.librecores.org, linux-parisc@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-riscv@lists.infradead.org, linux-s390@vger.kernel.org, linux-sh@vger.kernel.org, sparclinux@vger.kernel.org, linux-um@lists.infradead.org, linux-xtensa@linux-xtensa.org, Paul Walmsley , aou@eecs.berkeley.edu References: From: David Hildenbrand Organization: Red Hat In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-csky@vger.kernel.org On 28.02.23 16:50, Palmer Dabbelt wrote: > On Fri, 13 Jan 2023 09:10:19 PST (-0800), david@redhat.com wrote: >> Let's support __HAVE_ARCH_PTE_SWP_EXCLUSIVE by stealing one bit >> from the offset. This reduces the maximum swap space per file: on 32bit >> to 16 GiB (was 32 GiB). > > Seems fine to me, I doubt anyone wants a huge pile of swap on rv32. Patch is already upstream, so we can't add tags unfortunately. Thanks for the review! -- Thanks, David / dhildenb