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.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,USER_AGENT_SANE_1 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 10685C55179 for ; Thu, 22 Oct 2020 13:01:59 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id 7B69A2173E for ; Thu, 22 Oct 2020 13:01:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=redhat.com header.i=@redhat.com header.b="Nmbs5l5K" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 7B69A2173E 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 E14866B006C; Thu, 22 Oct 2020 09:01:55 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id DC1C56B006E; Thu, 22 Oct 2020 09:01:55 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id C8A1C6B0070; Thu, 22 Oct 2020 09:01:55 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0215.hostedemail.com [216.40.44.215]) by kanga.kvack.org (Postfix) with ESMTP id 9BE8B6B006C for ; Thu, 22 Oct 2020 09:01:55 -0400 (EDT) Received: from smtpin21.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay04.hostedemail.com (Postfix) with ESMTP id 47B101EE6 for ; Thu, 22 Oct 2020 13:01:55 +0000 (UTC) X-FDA: 77399573790.21.books77_0900f7d27251 Received: from filter.hostedemail.com (10.5.16.251.rfc1918.com [10.5.16.251]) by smtpin21.hostedemail.com (Postfix) with ESMTP id 5B5C9180442CE for ; Thu, 22 Oct 2020 13:01:51 +0000 (UTC) X-HE-Tag: books77_0900f7d27251 X-Filterd-Recvd-Size: 2841 Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [216.205.24.124]) by imf27.hostedemail.com (Postfix) with ESMTP for ; Thu, 22 Oct 2020 13:01:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1603371710; 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=E9nEBR+qeF7fzxxldRzsSqweMrfINbQ5X0/47IOTMlA=; b=Nmbs5l5K6dfRXLWvo8RcRCIX7BB9bvbX247yilV+/bQGKSxcIHcdgOvF/4YJptwiAfr1+x F2J8xFn18c0XK9iOYcdeMlDgIanjvGWNRUCVCtm6PDFeOxQbJu/fkfySKMPqqPeOiJ0KUi HnH42guRygZWbKvSvULT++hj9Rkhi6w= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-97-HGiqRxD6PgGmMOvgBilEIQ-1; Thu, 22 Oct 2020 09:01:48 -0400 X-MC-Unique: HGiqRxD6PgGmMOvgBilEIQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id C1B909CC06; Thu, 22 Oct 2020 13:01:46 +0000 (UTC) Received: from [10.36.113.152] (ovpn-113-152.ams2.redhat.com [10.36.113.152]) by smtp.corp.redhat.com (Postfix) with ESMTP id 46F0C60C15; Thu, 22 Oct 2020 13:01:45 +0000 (UTC) Subject: Re: [RFC PATCH 0/3] Allocate memmap from hotadded memory (per device) To: Oscar Salvador Cc: mhocko@kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, vbabka@suse.cz, pasha.tatashin@soleen.com References: <20201022125835.26396-1-osalvador@suse.de> From: David Hildenbrand Organization: Red Hat GmbH Message-ID: <3c18e078-25df-3fd4-9988-1b7677d8e05f@redhat.com> Date: Thu, 22 Oct 2020 15:01:44 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:78.0) Gecko/20100101 Thunderbird/78.3.1 MIME-Version: 1.0 In-Reply-To: <20201022125835.26396-1-osalvador@suse.de> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: > This does not go without saying that the patchset is not 100% complete. > It is missing: > > - a way to disable memmap_on_memory (either sysfs or boot_time cmd) > - atm, arch_add_memory for s390 screams if an altmap is passed. > I am still thinking of a way to nicely drop handle that. > Maybe a function in s390 that sets memmap_on_memory false and > stuff that check in support_memmap_on_memory function. Or simply implement altmap support ... shouldn't be too hard :) -- Thanks, David / dhildenb