Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1158745rwi; Thu, 3 Nov 2022 01:39:26 -0700 (PDT) X-Google-Smtp-Source: AMsMyM6asJlKCleUSislAj6qLUP7JbPYf2zvDbzB+YQQK9gXIpBOrAz/8ll4tP3y7LBYyVgTVehy X-Received: by 2002:a63:4420:0:b0:470:89:8e7c with SMTP id r32-20020a634420000000b0047000898e7cmr8731759pga.150.1667464765798; Thu, 03 Nov 2022 01:39:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667464765; cv=none; d=google.com; s=arc-20160816; b=GJs6oyaYIsr1mN8yqDJDO1IF44FIG8TgykM4bygvh1xYI40H+SE2MzvjpFMrKiWf0d lWHFxsHT0TBo0NBNMqZeLDoJFv/n7kaWrQN5YqtDz22K4BV4HZMFMLS0uT8dZXKVmjrK +ChedHuwRsCoBrk9Gx020gsyvcaXOlWQvo9VItUAePOEK48B3Rgo7D1mycz6wO6iAMGc 80oSW51fnbuzlTpvVHXOW/0I+3ySGgHUbihe0qWWe+QoemNTQfn26rgyXmf3S1uJ8Eto Hoy0OsngpUrgHqr9MYbOt8RBqaEp+4ksavwsEaL8gfr7/SpB4aonrchL5PUoEeyke9gr ekcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=ZM9LhN3P2GxaaPs4LSOfA8xH8G9/wFb+4rPYKngHJ3Q=; b=im+5mRs2R/z9ZJT0ntOcO6pAL3ZuvgkyNEPeiXUtSHK4QGwuPPJlz2w85Q2rWx6+GG dAqG9AQjpwBdgJXgwqwZ9U1f9pywNYQBywth2Axn9HKqvjsIHrg8m+K0ib0CCmqetKMO 67Fnaj3FOUcdkpks6T5SQ/5TdIqChRvNmZzzzQJJQtVWCZ1mkC4MlZ5GjlrfeweVpkIa xaSuAB9fR59fwRs/DcqjJNAoiIf0qze2zYRd742eSWU+FERYa5SygVJsCYlJkbsqRyh6 xkgd/xcPDyhwQqYJwgJh2S5tO14S7fPumyvtVmC8KrEoe1HkdAsU8GtNJhUPWb3DPCSV 30+w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="Oqkj4/Ns"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id p6-20020a170902b08600b0018725be1285si11376744plr.558.2022.11.03.01.39.11; Thu, 03 Nov 2022 01:39:25 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b="Oqkj4/Ns"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=QUARANTINE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231449AbiKCH4B (ORCPT + 97 others); Thu, 3 Nov 2022 03:56:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:44666 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230337AbiKCHzk (ORCPT ); Thu, 3 Nov 2022 03:55:40 -0400 Received: from smtp-out2.suse.de (smtp-out2.suse.de [IPv6:2001:67c:2178:6::1d]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id DFAD61057B for ; Thu, 3 Nov 2022 00:54:39 -0700 (PDT) Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by smtp-out2.suse.de (Postfix) with ESMTPS id 670351F9D9; Thu, 3 Nov 2022 07:54:38 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1667462078; 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=ZM9LhN3P2GxaaPs4LSOfA8xH8G9/wFb+4rPYKngHJ3Q=; b=Oqkj4/NswNgplx+SQ4vtZD2QboDgr1eI3hNWOXzocEBXUKG0iCAT7l/F8pi9iaEHnRqZut uurLdPFU1pifoykyt1MALef2CzmgrrRl2E6mRcgmcuvMM6RFEoL5uSCxGJNRj7L2KHN6ZW vrSp9OO3p10uv3Y7revg1iBWEU4PstA= Received: from imap2.suse-dmz.suse.de (imap2.suse-dmz.suse.de [192.168.254.74]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-521) server-digest SHA512) (No client certificate requested) by imap2.suse-dmz.suse.de (Postfix) with ESMTPS id 3B5CB13AAF; Thu, 3 Nov 2022 07:54:38 +0000 (UTC) Received: from dovecot-director2.suse.de ([192.168.254.65]) by imap2.suse-dmz.suse.de with ESMTPSA id 4SI0DL5zY2O5KQAAMHmgww (envelope-from ); Thu, 03 Nov 2022 07:54:38 +0000 Date: Thu, 3 Nov 2022 08:54:37 +0100 From: Michal Hocko To: Yang Shi Cc: Zach O'Keefe , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Davidoff , Bob Liu Subject: Re: [PATCH] mm: don't warn if the node is offlined Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed 02-11-22 13:08:08, Yang Shi wrote: [...] > So I think we narrowed down to two options: > 1. Preserve the interleave behavior but bail out if the target node is > not online (it is also racy, but doesn't hurt) I do not think there is merit in the interleave patch is dubious to say the least. > 2. Remove the node balance code entirely Yes, removing the balancing makes sense but I would still hope that we do not fail too easily if the range is populated on multiple nodes equally. In practice it will likely not matter much I guess but setting up all nodes with top score is just easy to achieve. -- Michal Hocko SUSE Labs