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 E291DC433E2 for ; Fri, 11 Sep 2020 19:56:46 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 6D30721D79 for ; Fri, 11 Sep 2020 19:56:46 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="RlJIegHd" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6D30721D79 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=redhat.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 8AD076B0002; Fri, 11 Sep 2020 15:56:45 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 837146B0003; Fri, 11 Sep 2020 15:56:45 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 6D78F6B0037; Fri, 11 Sep 2020 15:56:45 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0098.hostedemail.com [216.40.44.98]) by kanga.kvack.org (Postfix) with ESMTP id 54B086B0002 for ; Fri, 11 Sep 2020 15:56:45 -0400 (EDT) Received: from smtpin13.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 19CDB824805A for ; Fri, 11 Sep 2020 19:56:45 +0000 (UTC) X-FDA: 77251838370.13.prose50_190af3b270f1 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin13.hostedemail.com (Postfix) with ESMTP id E0C0418140B67 for ; Fri, 11 Sep 2020 19:56:44 +0000 (UTC) X-HE-Tag: prose50_190af3b270f1 X-Filterd-Recvd-Size: 4873 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf08.hostedemail.com (Postfix) with ESMTP for ; Fri, 11 Sep 2020 19:56:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1599854203; 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=SijYZpuEk2Kr2hg4vYfVkAK0/uOCq2G1RG1h2dKEpJ0=; b=RlJIegHd7QtLbtjvk3N9TuJXlUgJK2ENny4G4PqfvkgVoGmFmZ9FX2pRqGYx8A3K9YlWnV mzk9XmYcf6QDXnpIs217GEYFu+z/BtGXSnikE9K66lW+Z75Oiv+btML/Bas9zsUCdja49Z hYSBhHNsopRxfLMCdH2U1NWOFplakj0= 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-593-jtY1otYmP_SK_FRRNqjfKw-1; Fri, 11 Sep 2020 15:56:39 -0400 X-MC-Unique: jtY1otYmP_SK_FRRNqjfKw-1 Received: by mail-ed1-f72.google.com with SMTP id m88so5387179ede.0 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=fHdRp1KosK7MggVhnEtfavgF9AQo0Y1/Y1vDvHQ1H+UEiPN6r48S5RIPmMoj4+FHm8 RDPOXvOkbMpatu2nqIqGb0Nag0dsgRtDi/PKXfzv0NuzI8WH4gTWe1JBquI4HaOEDh1F p388eSAuLhLWljhM9nuiBHR44AaYodV+kxxrq+n400ogQeZs687RYRbDGNcPqMmXLbK2 /nByXBmMlkN3zGSUBoJZiyHG1vAV7kgEksLOa1dbSskHaUXhKdxaNSd6b8iwpC1riVO1 40L8LCBy6MezrmRFq+18NJibQkeYMx8m11H7Jh3bLMlEZYcSrI5p0nsSEUpTwr5uyE8d 4vLg== X-Gm-Message-State: AOAM531I7orSCo6ttP4pVK8wOmhvz5BWqMfPvAiRneyAdOR81MfDMUpr BGjCebWCv57JAPrsVcFXZABvyKZ/69DuFmlS1R9KbMBvuf9Bs3nqiQx6BWRsub0t+xVQYxvdRWa BzOemK/j5LhY= X-Received: by 2002:a17:907:264c:: with SMTP id ar12mr3728424ejc.80.1599854198622; 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) 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) Authentication-Results: relay.mimecast.com; auth=pass smtp.auth=CUSA124A263 smtp.mailfrom=david@redhat.com X-Mimecast-Spam-Score: 0.502 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-Rspamd-Queue-Id: E0C0418140B67 X-Spamd-Result: default: False [0.00 / 100.00] X-Rspamd-Server: rspam01 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000036, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > 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 pa= ge will only be mapped to that DIMM (otherwise a lot of stuff would habe to= be moved around. Would the mapping change after a reboot - especially can = a DIMM that could get hotunplugged before suddenly no longer be hotunplugge= d individually? > -Tony