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 X-Spam-Level: X-Spam-Status: No, score=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 51871C63697 for ; Thu, 19 Nov 2020 18:02:19 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id E2E60246DE for ; Thu, 19 Nov 2020 18:02:18 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=infradead.org header.i=@infradead.org header.b="KSvuCQGM" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729744AbgKSSCS (ORCPT ); Thu, 19 Nov 2020 13:02:18 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40468 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728609AbgKSSCR (ORCPT ); Thu, 19 Nov 2020 13:02:17 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2B210C0613D4 for ; Thu, 19 Nov 2020 10:02: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=Ma4f4H4dwrdwuSRL3o/wwF+/0TSbqSBTgK3/+Qim5fU=; b=KSvuCQGM/XHs7Bng0bqSoG/dt6 wxprvYnyDSPXdh2bCrY1y5SSQoA0G/UZR5tM547DtsK92VwttTY2LY+BBhr4KR4AWuYeOuDnxltmw PJrilCYpggLAWqTDirQVYHRac/CnEIy8HVLUG2wb9ALNzdTaewpNxHmh8oKjzhP+JQXnPxPJdt2K7 bUh3x/ERXfZMkqOQEm8bXYjvHbnGGTb1iQOnsqFVoqDWC70GNZ021F8enYaKL7Z49THoGgmnOmfeq AXZ8Dx+jFQbeJ12p5VjuNYewVt+saELHRAlNUNvjtaPWxhr1d5Fqcw0ri/sgYG+O4ojLfC+TWizYI au35HJgg==; Received: from hch by casper.infradead.org with local (Exim 4.92.3 #3 (Red Hat Linux)) id 1kfoFy-0006MP-74; Thu, 19 Nov 2020 18:02:06 +0000 Date: Thu, 19 Nov 2020 18:02:06 +0000 From: Christoph Hellwig To: Andrea Arcangeli Cc: Thomas Gleixner , Ingo Molnar , Andi Kleen , Rafael Aquini , Waiman Long , linux-kernel@vger.kernel.org Subject: Re: [PATCH 0/1] x86: restore the write back cache of reserved RAM in iounmap() Message-ID: <20201119180206.GA24054@infradead.org> References: <20201119175902.17394-1-aarcange@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201119175902.17394-1-aarcange@redhat.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 Thu, Nov 19, 2020 at 12:59:01PM -0500, Andrea Arcangeli wrote: > Hello everyone, > > We identified some PCD set on the direct mapping causing hardly > reproducible performance issues and this patch fixes the ultimate root > cause. > > The caller for now has been tweaked to avoid triggering this case (now > that we know about it) What is the callers? The whole SetPageReservered + ioremap* thing you mention in the actual patch is completely bogus. I think we'll need to reject that as well and fix the caller.