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 bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.lore.kernel.org (Postfix) with ESMTPS id 85726C77B7A for ; Tue, 6 Jun 2023 18:40:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:Cc:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=2mTGTh47e2aDHv7sH/8M+2bBkGk6LetSuxewAjPUOQM=; b=PxMOZxKZDpf+pa zyjcISdbl7PWDyTFahoLX4x3p4TIOYlXEJbt0PZYirFpVTVwnWRQCs/hNSb0sgoGqMyC2uTSGivi8 5Vf0sWYzxBAdgWfmsd94+WQfWMTTX2fwjmUyqb3y95TMnNImhX6pJkbWfbt81jNtXSBpHx6ZFdgT4 jjVx/GXo2XWcERtT57BAgPM7PtCgDBpE9fQjlf0N5mOflNMUc9tdyTapMMkAtMmsljI47eYm4IwD3 dF4oU4NH1eSAhy5dwiMDrdxPjKraaA9jroZtMpGkQZvHNF9Neiw6D4L6KSNdi7dFPfjWAzatEAymw 4/brT3ApylTgr1iso7nQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.96 #2 (Red Hat Linux)) id 1q6bay-002nCo-14; Tue, 06 Jun 2023 18:39:52 +0000 Received: from mail-pl1-x635.google.com ([2607:f8b0:4864:20::635]) by bombadil.infradead.org with esmtps (Exim 4.96 #2 (Red Hat Linux)) id 1q6bav-002nB7-0N for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2023 18:39:51 +0000 Received: by mail-pl1-x635.google.com with SMTP id d9443c01a7336-1b039168ba0so55889385ad.3 for ; Tue, 06 Jun 2023 11:39:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ziepe.ca; s=google; t=1686076787; x=1688668787; 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=ipsTwHL47notmV/HGoey6MkAAn1uRiqZTtJAd3PLJL0=; b=K/ZrDlF8KMAnDS85fxZpm6YhX4Oph+uve2y/Y+MrmfyE2WE3XoTh1kngEqIpjeVuP4 LYlM06s8Uw7AO+LzmDl6QeBr8o8xTQ7KHd5QRfYpgJLfaLmmaYC7+90/Qtagjikdbx65 /aR2ImBqmnp+INz1P6qgonoJXcFcbcfyAyqaFe4FmJ6o+UJj8+nyeBNmhXxQJRYBU02N mr7S2Cz3HsMBapBOgAJWZ25UUc6Hza7XfixudL4IY/IY8VwHWaYmffzNpqaauIHjbZWC HkA175FUYWjYIoEjNPC+K1Df/J2BYZPiN+Y2bqFa66dNRJSl8SyRX9Hum7j9HK57QQUT 7joA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1686076787; x=1688668787; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=ipsTwHL47notmV/HGoey6MkAAn1uRiqZTtJAd3PLJL0=; b=YpAJuW+imW16a+HO/XsJvP9C49UgGQQamr33cc9AYeA9bdKsLe6GfWbBY8+rsZSnvj 12DDuv29cdl5K9/Z5w3SqL2K4nwkmgtWZpxPK7zUDyhadWvhzMksYC/mIZo0Vtv6XV5S K9NGNrHjrifoiECibOuCXJVIgdVHb19QyxG18++rYPNmzwkWEhAqZ61hZ8kN9rLJEfjr sotiECEvtnlAaEShjOBTfn1PKd2nzwoLaGIYV5w8hQhLmUXSJaWzlEUwEBRJIhnS1dtQ qAxJTLaX2WL8AbXYIBVu94ievQfTAEjCTt1V6qDWJGTpUGLbQDmpw57yFfe+z7efO0tr MjiQ== X-Gm-Message-State: AC+VfDxbzs0PaHG4lr8cs2mlsssuC6iRYanUeFwRxw14sFWkNzmBx10x ArtsuOsJMyR+cRZn07spCYIYfA== X-Google-Smtp-Source: ACHHUZ5Z8L5+gsuV0Vp/V1wMVAvDi3cyVCaZDXHr2VY8t2bgbdMDsnlE8QTZgIjlmziBgBimkE2xDQ== X-Received: by 2002:a17:902:7605:b0:1b1:a9e7:5d4b with SMTP id k5-20020a170902760500b001b1a9e75d4bmr2874824pll.22.1686076787139; Tue, 06 Jun 2023 11:39:47 -0700 (PDT) Received: from ziepe.ca ([206.223.160.26]) by smtp.gmail.com with ESMTPSA id f3-20020a170902ce8300b001aaf2e7b06csm8839952plg.132.2023.06.06.11.39.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 06 Jun 2023 11:39:46 -0700 (PDT) Received: from jgg by wakko with local (Exim 4.95) (envelope-from ) id 1q6baq-0030jJ-Oc; Tue, 06 Jun 2023 15:39:44 -0300 Date: Tue, 6 Jun 2023 15:39:44 -0300 From: Jason Gunthorpe To: Hugh Dickins Cc: Gerald Schaefer , Vasily Gorbik , Andrew Morton , Mike Kravetz , Mike Rapoport , "Kirill A. Shutemov" , Matthew Wilcox , David Hildenbrand , Suren Baghdasaryan , Qi Zheng , Yang Shi , Mel Gorman , Peter Xu , Peter Zijlstra , Will Deacon , Yu Zhao , Alistair Popple , Ralph Campbell , Ira Weiny , Steven Price , SeongJae Park , Naoya Horiguchi , Christophe Leroy , Zack Rusin , Axel Rasmussen , Anshuman Khandual , Pasha Tatashin , Miaohe Lin , Minchan Kim , Christoph Hellwig , Song Liu , Thomas Hellstrom , Russell King , "David S. Miller" , Michael Ellerman , "Aneesh Kumar K.V" , Heiko Carstens , Christian Borntraeger , Claudio Imbrenda , Alexander Gordeev , Jann Horn , linux-arm-kernel@lists.infradead.org, sparclinux@vger.kernel.org, linuxppc-dev@lists.ozlabs.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 07/12] s390: add pte_free_defer(), with use of mmdrop_async() Message-ID: References: <35e983f5-7ed3-b310-d949-9ae8b130cdab@google.com> <6dd63b39-e71f-2e8b-7e0-83e02f3bcb39@google.com> <175ebec8-761-c3f-2d98-6c3bd87161c8@google.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <175ebec8-761-c3f-2d98-6c3bd87161c8@google.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20230606_113949_158100_D94389B9 X-CRM114-Status: GOOD ( 11.92 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Mon, Jun 05, 2023 at 10:11:52PM -0700, Hugh Dickins wrote: > "deposited" pagetable fragments, over in arch/s390/mm/pgtable.c: use > the first two longs of the page table itself for threading the list. It is not RCU anymore if it writes to the page table itself before the grace period, so this change seems to break the RCU behavior of page_table_free_rcu().. The rcu sync is inside tlb_remove_table() called after the stores. Maybe something like an xarray on the mm to hold the frags? Jason _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel