Received: by 2002:a25:1985:0:0:0:0:0 with SMTP id 127csp2686992ybz; Mon, 27 Apr 2020 02:35:05 -0700 (PDT) X-Google-Smtp-Source: APiQypKW4Z+0EEARj30v66UXeh5vSs4ZTUWPXLCT6gz7ZG+c3gQ6O5+f8f3VZwVqBDncG9YsfnSi X-Received: by 2002:a17:907:2170:: with SMTP id rl16mr19379910ejb.238.1587980104952; Mon, 27 Apr 2020 02:35:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1587980104; cv=none; d=google.com; s=arc-20160816; b=Soo41iBej/696muR+EDOCc2mMMCuvQWgt8oAPbjU1RDtcKJDGs9VWS5Cc4lMuuVTNk bg6lF1+BS5GoCOr4x2/3LcBGd3WTQha40+P1CeX2KJdH8zOPCel6wfjnIIE0mbCzgrlA 6TQd0RnxsJxcNHVlmff9+JXTgc2FfZH7YeBCRx0z6wcK2AnVlJXSW4tVlg+3yOq8KiGl HFz+x6LAZ7ibkd/H0rZAYit7sBdbS8+TLEvJ59k47XpKf5QtE5g5a1H/1gjIFUnsKl86 4oOjI8Y5khpPJnIEjQS1lseZ0eyKhmloFgHWS/whSLC0AZYB8efSoA0VuyydGGGsuoa5 S1nw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=35QJn1hhWYFSZ/1oAi66t4mXvSBZgBhwZVO+bOrgf9w=; b=EDPSmWZnNpCGI/r00/Y2rfRzo69mdMfbVl3u65miiir2X0MEjR6llQis3xopQqEpCa SnIbf3zuDOkMN8An2/pQ1t6SdlYb4tfTATRbWmPGjsJz6A/fsI3K12vQCf1YQm+dllFP xAsis1hvtYynU8p7zFvEQQlsDFASwhwy0tGsO92Lj/od13QrbUKJgvwRyChbcoPwx1Pq +oZozD5ItVNwaK49Xib/kANWWsAM2jSHfpjz3VdXIP4XiI2iGdoAsXZj/qJvc/l9uTFU fzVx+SkRDsI+3jXjTGAGROU5h2a5yoz+zcsfQgA0QinGtQYgHoVtB3z8UeV/RLsq4Tq/ mtJw== ARC-Authentication-Results: i=1; mx.google.com; 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 i3si2302365edn.135.2020.04.27.02.34.41; Mon, 27 Apr 2020 02:35:04 -0700 (PDT) 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; 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 S1726589AbgD0Jao (ORCPT + 99 others); Mon, 27 Apr 2020 05:30:44 -0400 Received: from elvis.franken.de ([193.175.24.41]:57095 "EHLO elvis.franken.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726003AbgD0Jao (ORCPT ); Mon, 27 Apr 2020 05:30:44 -0400 Received: from uucp (helo=alpha) by elvis.franken.de with local-bsmtp (Exim 3.36 #1) id 1jT05x-0000OE-00; Mon, 27 Apr 2020 11:30:33 +0200 Received: by alpha.franken.de (Postfix, from userid 1000) id 1A88FC0327; Mon, 27 Apr 2020 11:04:12 +0200 (CEST) Date: Mon, 27 Apr 2020 11:04:12 +0200 From: Thomas Bogendoerfer To: Paul Cercueil Cc: Guoyun Sun , Paul Burton , Daniel Silsby , Jiaxun Yang , Dmitry Korotin , Andrew Morton , Steven Price , Geert Uytterhoeven , Mike Rapoport , Anshuman Khandual , linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org, TieZhu Yang , Xuefeng Li Subject: Re: [PATCH] mips/mm: Add page soft dirty tracking Message-ID: <20200427090412.GA7286@alpha.franken.de> References: <1587460527-13986-1-git-send-email-sunguoyun@loongson.cn> <20200426165441.GA10053@alpha.franken.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.23 (2014-03-12) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sun, Apr 26, 2020 at 07:09:26PM +0200, Paul Cercueil wrote: > >> arch/mips/Kconfig | 1 + > >> arch/mips/include/asm/pgtable-bits.h | 8 ++++-- > >> arch/mips/include/asm/pgtable.h | 48 > >>++++++++++++++++++++++++++++++++++-- > > > >this breaks all 32bit builds where CPU support RIXI, because it overflows > >pgtable_bits. > > I think we'd need to make PTEs 64-bit at some point. I'm taking patches ;-) Any idea how much performance impact we might see by this ? Thomas. -- Crap can work. Given enough thrust pigs will fly, but it's not necessarily a good idea. [ RFC1925, 2.3 ]