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 23775C433ED for ; Tue, 13 Apr 2021 10:16:34 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id CB90461244 for ; Tue, 13 Apr 2021 10:16:33 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org CB90461244 Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 4B4996B006E; Tue, 13 Apr 2021 06:16:33 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 48C1E6B0070; Tue, 13 Apr 2021 06:16:33 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 32C8A6B0072; Tue, 13 Apr 2021 06:16:33 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0252.hostedemail.com [216.40.44.252]) by kanga.kvack.org (Postfix) with ESMTP id 145BA6B006E for ; Tue, 13 Apr 2021 06:16:33 -0400 (EDT) Received: from smtpin19.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay01.hostedemail.com (Postfix) with ESMTP id BAB61180ACF84 for ; Tue, 13 Apr 2021 10:16:32 +0000 (UTC) X-FDA: 78026939424.19.BBC7F3C Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf23.hostedemail.com (Postfix) with ESMTP id AE823A0003A2 for ; Tue, 13 Apr 2021 10:16:30 +0000 (UTC) X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1618308991; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=etAr+vdy6QGHF0HOCTnJnOC8u4Cj4xKN+06/PtCWHn4=; b=OXv/r8nGtM3qBcGiQ8t/oCUHzaV3plqzqFmvzaLQva0Uiu1izcvZC9ipH3VpyIOFxep5TC uqU+eZXHQyV7r9YUVeQUQwB9+PMwXLfcP746/g0wQVz89PRnvenS5SHv60eKhJl4w+MBE1 phYm2DhX6q/C2jj0zZtyMRfUxoICvog= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 0933DAF80; Tue, 13 Apr 2021 10:16:31 +0000 (UTC) Date: Tue, 13 Apr 2021 12:16:30 +0200 From: Michal Hocko To: Vlastimil Babka Cc: Mel Gorman , Andrew Morton , Oscar Salvador , "Michael S. Tsirkin" , Alexander Duyck , Minchan Kim , David Hildenbrand , Linux-MM , LKML Subject: Re: [PATCH v2 resend] mm/memory_hotplug: Make unpopulated zones PCP structures unreachable during hot remove Message-ID: References: <20210412120842.GY3697@techsingularity.net> <20210412140852.GZ3697@techsingularity.net> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Rspamd-Server: rspam01 X-Rspamd-Queue-Id: AE823A0003A2 X-Stat-Signature: ke81egxedkg68hoes93repu8gkcbi4uk Received-SPF: none (suse.com>: No applicable sender policy available) receiver=imf23; identity=mailfrom; envelope-from=""; helo=mx2.suse.de; client-ip=195.135.220.15 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1618308990-10041 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: On Tue 13-04-21 11:36:08, Vlastimil Babka wrote: [...] > AFAIK even Oscar's work on using the node to self-contain its own structures is > only applicable to struct pages, not percpu allocations? Correct. Teaching pcp storage on movable zone sounds like a large undertaking to me. Not sure this is worth it TBH. Even an idea of any pcp access synchronization with memory hotplug makes for a decent headache. -- Michal Hocko SUSE Labs