Received: by 2002:a05:6358:111d:b0:dc:6189:e246 with SMTP id f29csp1961609rwi; Thu, 3 Nov 2022 10:59:28 -0700 (PDT) X-Google-Smtp-Source: AMsMyM7m92C4QYd7tBdMsF2r9UI67ejzgkXHxrHReo4ygEwSABPBiyPn/i4QRR4XKc2b/Z1OTHtK X-Received: by 2002:a65:4d47:0:b0:46f:8e45:6fd4 with SMTP id j7-20020a654d47000000b0046f8e456fd4mr24459494pgt.481.1667498367937; Thu, 03 Nov 2022 10:59:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1667498367; cv=none; d=google.com; s=arc-20160816; b=LLO5ecB3hkHw5OI9krl8CztqKu+TbHMfk8NRn9vUU3mrzsp+hVkYVO3BRF148uARh9 QUCTLUYMUBdKhEdPK/Ttk1PtJDzZaJ/IqdD+aLvUSqjE6+jg6FGxx9cdgHXWuEyIUw2K 9pNK62F6laaN3hDAVZ3voFewsCQxIL5FAZK5IQZ29TBqOKDjSvQ/XGEC5YVZDxe+LUJA xEPqZ7GSFkj8bXmE3a1vR1QM9tHCtYHwmpDTFPj1jTIJOt25Ffb28CMs9ossJjxEj/12 F2BKWVFbwi2RYtfcUDwlzPRFFIJScZDbQqM2DAp2bMwY3EGc0USpsNc5y7Mt+M4IAGNp nf9Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=38PbifJ82siOWP93EOR7nWjQvXdjLMHLCirjt79C52Y=; b=mLBMV8iKst4sLdRFgqPC+8YGaM2QslpCaKUnglN8trtm8VjWx/DKGGaEBrp/+L8ZbC 5tkA6DSabJbWElnZY4LKSqoGP5Kbdz1zFj21cEAjdwPFUMG43cDTJfUhnVv9r/NcO4nj rH/TeFEFgwUa6TlyM1hSsg6bFZIXswj2dSEZPLJJlEs0ZL0Ue6gG+ngzrWJOAL4D5NmE HdzEDKFLHfQGlWxe25Fjqe27HHqqNcbtrHDrqpaI+5xPV+XXDybpqDTaKZHuR1hWfMlT yZ31oCuL38IcOjQ5r00VPXVDMxouZaInfHXpKA03EMeUSmkpjF+tDQmSQRcmS6p6Dy7b lHfA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=nBhmOboQ; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id s141-20020a632c93000000b0044d72a10aafsi1823888pgs.34.2022.11.03.10.59.15; Thu, 03 Nov 2022 10:59:27 -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=@gmail.com header.s=20210112 header.b=nBhmOboQ; 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=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230408AbiKCROo (ORCPT + 97 others); Thu, 3 Nov 2022 13:14:44 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38454 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232085AbiKCROU (ORCPT ); Thu, 3 Nov 2022 13:14:20 -0400 Received: from mail-pl1-x62f.google.com (mail-pl1-x62f.google.com [IPv6:2607:f8b0:4864:20::62f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4786D10E2 for ; Thu, 3 Nov 2022 10:14:07 -0700 (PDT) Received: by mail-pl1-x62f.google.com with SMTP id p21so2535053plr.7 for ; Thu, 03 Nov 2022 10:14:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=38PbifJ82siOWP93EOR7nWjQvXdjLMHLCirjt79C52Y=; b=nBhmOboQE7UtoVHovVd+g9wJf2OqjOgsAYJ8dO0/Bqta4VQW1Yxv6X5VtZb8gdYx6Y df/AB3UlUgcySW2Mx8iZjVxzuYSy0hd4qF3anpFaS2s2EHvovwQ/tziVoNE6aC8bTLPc rpLEnmZCBnNvb8SC4uyu/IMdM3mdAQ2EVPRMyT8jdVCVhBfc18hAU4JUK2hdIRUHu3ld Yj8DFWhtMoE6esL1DWUfJJgFhTq45luEB/oJ4ujzAZ95OYrA9ReUR3D10TCQPqZqIVeQ wAHrxd9i8NWpCJ8dDgEp2u2OL1+7nYO7VBx8Y/oKVsIOewYdkC7YCzJv5rVhvx80c0hd TL2w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=38PbifJ82siOWP93EOR7nWjQvXdjLMHLCirjt79C52Y=; b=0M4Q3h9Ry8qytIp76IxBip8qKffbeEdn5aeg7+JAs3V4yRmpfytJCoTq9+Qa+3sXi1 MLe/ceg/18kIts6Ed2h/1Hr+WZDwNXe6vUFX5Lb+drlc86rRp8QJ6WimhcH4FsBYAkKF 2C4nmM6pQ+K1xPleyxk39GUpVizDWO8NkhlREeK7uOT5qzN364E8iWygAfrkshP4nE4q aqwttkIx4k6Tk86nxfQTDTLJlT6z1yVpneh2LETI6gNfJ6IGbZ3nqWOiaNfz9OWgQ2ur A3K5kBeAL6XMcN0Fk5Kk+GhCkB4MzjiXr4AcTucIgIVENk++UNRWKcPKclXDvzRL1yqS QGLA== X-Gm-Message-State: ACrzQf343cIzq1qWjj5R2aPXJlewbSu0piSzS8kQWFByfJ7GwsOybL5e vkVZh0+OmxWMZd3LimtBiJsOUKrLRnBYxpwN9Dg= X-Received: by 2002:a17:903:41ca:b0:186:a68e:c06d with SMTP id u10-20020a17090341ca00b00186a68ec06dmr30249533ple.61.1667495646749; Thu, 03 Nov 2022 10:14:06 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Yang Shi Date: Thu, 3 Nov 2022 10:13:54 -0700 Message-ID: Subject: Re: [PATCH] mm: don't warn if the node is offlined To: Michal Hocko Cc: "Zach O'Keefe" , akpm@linux-foundation.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org, Andrew Davidoff , Bob Liu Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,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 Thu, Nov 3, 2022 at 12:54 AM Michal Hocko wrote: > > 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. OK, thanks. I will come up with a patch to allow fallback between the nodes, it should be largely based on the change suggested by you. > -- > Michal Hocko > SUSE Labs