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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id DF570C433FE for ; Thu, 3 Nov 2022 07:56:03 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231328AbiKCH4C (ORCPT ); Thu, 3 Nov 2022 03:56:02 -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: 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