Received: by 2002:a05:6902:102b:0:0:0:0 with SMTP id x11csp1893449ybt; Mon, 15 Jun 2020 12:09:37 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwCwvFPkRGdf8xkJv06sRKBM+qWSTY+VgKiftFwAoIe/6Rys01OcnQFPI4UBQZxJw98nwbv X-Received: by 2002:a50:d75e:: with SMTP id i30mr25890199edj.305.1592248177532; Mon, 15 Jun 2020 12:09:37 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1592248177; cv=none; d=google.com; s=arc-20160816; b=zgZISKlvStQKr2/3dE2IVWA0gWJIH4BHt3MAIkhPuG1fMBRs+HZa+d0h4dG+/lE+43 HO8J5KH72D8+M4pw5Bl6bxYEbBD2mPvpwXge2V4vO2DtfxVN3ip/KWqbr9jgX+j2Kiaz 9Q/Fda0WsHxD7/UESeHA8zPAQemgCFFKXANlid9lds6yz1yON482t+nx52ElS0ugrxpC tdOdlKpaP45xLzJAcO2HGIJmbZhgjWo1HIanRXF5Z4mB/QTfow9Sdd4mNk6o7rQesSkd WuPWoGkASBdB133xGeyr2oIu9I9QMgU7F4q/tHP4OaaBNrbmpsycKq7222ZBHWfXc6BJ eUZA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=olEteVHhdq8yEDgr22qHHqiXrLTHF0iSZEQd5+cZ3i4=; b=ODUJ2C4nih8zzaMXP5DOnw76fOcyp1FTXSEdrPtDy1odRzveLDTVDlYFDEfzimZuW7 YUdN6odqiMX+ZE7fc9rBl1fGR/Ev+rhG5WYaPeq7OQxIqitrXLHFam/4hN1R1Az/wyRb Q+CJzEpktzAX4bf2VnoDDgRP6yl9B+noONybUcql4eXSFQ8N7fq7s+GYPBrUiSK3KxV2 XqQ2HVuNxpX1ap7v/yh4N4ESSVSPFxVysIY+e2uxIn1/88AAcEtM3nGUQ59hmxFdWSuK FFR2rfz7kF3DLtoapkbKlfZi6bCD5dlK5fWXzVd32IieWkyyw3D4+GqT+lelIC7z/NOD 3QRw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=HSNkMcTT; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s9si9710360edx.608.2020.06.15.12.09.14; Mon, 15 Jun 2020 12:09:37 -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; dkim=pass header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=HSNkMcTT; 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1731394AbgFOTGZ (ORCPT + 99 others); Mon, 15 Jun 2020 15:06:25 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52628 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729354AbgFOTGY (ORCPT ); Mon, 15 Jun 2020 15:06:24 -0400 Received: from mail-ed1-x542.google.com (mail-ed1-x542.google.com [IPv6:2a00:1450:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 585ABC061A0E for ; Mon, 15 Jun 2020 12:06:24 -0700 (PDT) Received: by mail-ed1-x542.google.com with SMTP id x25so5378299edr.8 for ; Mon, 15 Jun 2020 12:06:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=olEteVHhdq8yEDgr22qHHqiXrLTHF0iSZEQd5+cZ3i4=; b=HSNkMcTTIJYSJKd5fm1hFo5NcqHjRoxIw9VgW1AhFtGY9q9s3jG/lafai0QvhBZr08 2Y4ZLVLUtytxhUfEPHb1eZmuRg8e9yZxh8SLuY2aN/KaQkJsB9yjK0JgsWhHJ7II1hOi MbzutdQ2EmUCxu4XGefggHJztuN9VKRrf2vkgbC6TXvw0w6wsNhlivnabF/nAfsh/YkD Yp3x3MpBVO9oeDsfB3ByuiFpM6BwvmmqayHySEmWh1mgxM3adyKmDPL7RWzKcQgR2Fny 1KEucQJszZ9hZW4wIurej5IV62ilDBRBy9Y6DhsgZBPlnmLs5K7sd+enkrlBA9fq7Cel A7bA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=olEteVHhdq8yEDgr22qHHqiXrLTHF0iSZEQd5+cZ3i4=; b=AwhiND4OeQqYNEd9KXT6Shu+9iQ9YumV42f567j7Wef+sr/3fgPEqHrCim1sxdUCPi bx+V12lqVtk8P+vN1fLx0k5fHMNI0FioK4KahzzlrwLwHL3z8SZOaY9zb0aRy+iqZ+64 /fgnKiHQ3i+nhrH1wo64bqlamGA2CWSK/6LgrywGVRs/7XQtKm1dGL7osyzwxNqPEWJU 40cL4XSVeyS9BWcH6keg1PaV/kV1QtnZwjfBX4FRPC0l1LDuKcDUU3G0bxV1j7H7LE3h OkDNejZ1pqUDL8UT64MExNrcCJTIZ3edgprjkvqTu2lA63J2suDKi9SPgpCDVGn8l7ib ecwQ== X-Gm-Message-State: AOAM530vtrfMHsH/+Lb1LSfT/4euC5nA9bj3E+A+/6WexZ2kkAOgEmnv KcjoBI6IeyGV83A7a/6SBq6TjEZywdjrP2fEsW0nbA== X-Received: by 2002:aa7:c944:: with SMTP id h4mr24735245edt.383.1592247983077; Mon, 15 Jun 2020 12:06:23 -0700 (PDT) MIME-Version: 1.0 References: <158889473309.2292982.18007035454673387731.stgit@dwillia2-desk3.amr.corp.intel.com> <34641620.ChEHEh4gq6@kreacher> In-Reply-To: <34641620.ChEHEh4gq6@kreacher> From: Dan Williams Date: Mon, 15 Jun 2020 12:06:11 -0700 Message-ID: Subject: Re: [RFT][PATCH 2/3] ACPICA: Remove unused memory mappings on interpreter exit To: "Rafael J. Wysocki" Cc: "Kaneda, Erik" , "Rafael J. Wysocki" , "Wysocki, Rafael J" , Len Brown , Borislav Petkov , "Weiny, Ira" , James Morse , Myron Stowe , Andy Shevchenko , "linux-kernel@vger.kernel.org" , "linux-acpi@vger.kernel.org" , "linux-nvdimm@lists.01.org" , "Moore, Robert" Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Jun 13, 2020 at 12:29 PM Rafael J. Wysocki wrote: [,,] > > While I agree that this is still somewhat suboptimal, improving this > > would require more changes in the OSL code. > > After writing the above I started to think about the extra changes needed > to improve that and I realized that it would take making the OS layer > support deferred memory unmapping, such that the unused mappings would be > queued up for later removal and then released in one go at a suitable time. > > However, that would be sufficient to address the issue addressed by this > series, because the deferred unmapping could be used in > acpi_ev_system_memory_region_setup() right away and that would be a much > simpler change than the one made in patch [1/3]. > > So I went ahead and implemented this and the result is there in the > acpica-osl branch in my tree, but it hasn't been built yet, so caveat > emptor. Anyway, please feel free to have a look at it still. I'll have a look. However, I was just about to build a test kernel for the original reporter of this problem with this patch set. Do you want test feedback on that branch, or this set as is?