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 770A6C433FE for ; Thu, 3 Nov 2022 17:14:46 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230521AbiKCROp (ORCPT ); Thu, 3 Nov 2022 13:14:45 -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-Google-Smtp-Source: AMsMyM5SFGmJQcKgV8VOyIegxXexsNHSW5jZFAzrpn8N1iAPMuHPcnEq83AZESGEVpJCuxBG58eMBvq5pNDn0CiK3mI= 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" 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