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=-3.9 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED 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 10BB6C43461 for ; Fri, 11 Sep 2020 19:56:50 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id B485C21D6C for ; Fri, 11 Sep 2020 19:56:49 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="hSEYd+1A" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1725822AbgIKT4s (ORCPT ); Fri, 11 Sep 2020 15:56:48 -0400 Received: from us-smtp-1.mimecast.com ([205.139.110.61]:37305 "EHLO us-smtp-delivery-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725778AbgIKT4m (ORCPT ); Fri, 11 Sep 2020 15:56:42 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599854201; 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=HiRrxuwpYWnQMo5FTx+dqZUh/zO6pDjeXZnxQ5ttgXM=; b=hSEYd+1AX1WQ+YoMstjzmjnPZisJz2UzQ//XsHPW/ZmPbjydd8m8avEWEdhM2CKaageOTj Pl4ADpE9uvKWmlAuiPJuPsmYC97i7Nl++LOAsJ+k0IAxJMrDxzYz7RQgf9E9fOod2MANc/ dzZfP7AYIdQ1WY1mUF3Qg/Npbr3bJNk= Received: from mail-ed1-f72.google.com (mail-ed1-f72.google.com [209.85.208.72]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-258-VYn1xAtQMoy0x1kf04ic2w-1; Fri, 11 Sep 2020 15:56:39 -0400 X-MC-Unique: VYn1xAtQMoy0x1kf04ic2w-1 Received: by mail-ed1-f72.google.com with SMTP id x14so5338987edv.8 for ; Fri, 11 Sep 2020 12:56:39 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:content-transfer-encoding:from:mime-version :subject:date:message-id:references:cc:in-reply-to:to; bh=HiRrxuwpYWnQMo5FTx+dqZUh/zO6pDjeXZnxQ5ttgXM=; b=kr6cSigUp8ebzaOcqmCeVq43nRGqsLHYk5V8wJfG2TvJegFThPaegXmuwqkV2TWIdl IEWSBYyojNeB9TaSDSxfO3z7wy6g1CD6lnqzZyge2LkWfU6OkuE/4/1Dj9+MKo19RFXe N2OOxDVnZGStV8U4VHUfAuQGcLJlNShCOC1j3975xlkpu27MGXpr+nyFIMrEgEVMRfKd iKDBiQtsyBQA1Wo7KbTLCqtkvpkg96lQr0UBbHLmXr+8kX/Vx4nRSYBru6KO1mXbECax FVF096MlYrIby70Q25PfWq0d/pE/ZDXWqGCxctXWy9YoGIZpGSFSsuG1IDvCr3zLTM2P bekA== X-Gm-Message-State: AOAM531Cm2PJuw4VBzklW/+IyA39U8w32r0WHyu6otLZWufrxU64mtHr aNXHbtXBIiEx9OXnUwFUvHGv2zFHjmwlLqPF9wtqYt7EUjEPoERtIJgUwgcLzlEfoHrd34JDbYH 4X1EFtGAKF5iLzijBaSWB9ZlV X-Received: by 2002:a17:907:264c:: with SMTP id ar12mr3728414ejc.80.1599854198607; Fri, 11 Sep 2020 12:56:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyI2PQqNt1dvpjMD5lrK1YjwwLI/bFW1FAJaJVtd+QNRGaoPSJVEC6/DS0aphwnU+mNXyXTeQ== X-Received: by 2002:a17:907:264c:: with SMTP id ar12mr3728402ejc.80.1599854198424; Fri, 11 Sep 2020 12:56:38 -0700 (PDT) Received: from [192.168.3.122] (p5b0c6263.dip0.t-ipconnect.de. [91.12.98.99]) by smtp.gmail.com with ESMTPSA id e4sm2486542edk.38.2020.09.11.12.56.37 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Fri, 11 Sep 2020 12:56:37 -0700 (PDT) Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable From: David Hildenbrand Mime-Version: 1.0 (1.0) Subject: Re: Ways to deprecate /sys/devices/system/memory/memoryX/phys_device ? Date: Fri, 11 Sep 2020 21:56:36 +0200 Message-Id: References: <75611c1b4ab44265acff75aa8754d48f@intel.com> Cc: "Hansen, Dave" , David Hildenbrand , Michal Hocko , Gerald Schaefer , "akpm@linux-foundation.org" , Greg KH , =?utf-8?Q?Jan_H=C3=B6ppner?= , Heiko Carstens , "linux-mm@kvack.org" , "linux-api@vger.kernel.org" , Dave Hansen , "linux-kernel@vger.kernel.org" In-Reply-To: <75611c1b4ab44265acff75aa8754d48f@intel.com> To: "Luck, Tony" X-Mailer: iPhone Mail (17G68) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Am 11.09.2020 um 21:36 schrieb Luck, Tony : >=20 > =EF=BB=BF >>=20 >> It's actually really hard to map a DIMM to a physical address. >> Interleaving can mean that one page actually spans a bunch of DIMMs. >=20 > Heh! If NUMA mode is turned off your single page may have cache lines > from *every* DIMM in the system. Even with NUMA turned on the page > will have cache lines from every DIMM on the socket. >=20 Thanks Dave and Tony, that=E2=80=98s valuable information! How would it behave after hotplugging a single DIMM - I assume a single pag= e will only be mapped to that DIMM (otherwise a lot of stuff would habe to b= e moved around. Would the mapping change after a reboot - especially can a D= IMM that could get hotunplugged before suddenly no longer be hotunplugged in= dividually? > -Tony