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 294ECC77B7E for ; Thu, 27 Apr 2023 05:18:31 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S242705AbjD0FSa (ORCPT ); Thu, 27 Apr 2023 01:18:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46834 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236396AbjD0FS1 (ORCPT ); Thu, 27 Apr 2023 01:18:27 -0400 Received: from mail-pf1-x435.google.com (mail-pf1-x435.google.com [IPv6:2607:f8b0:4864:20::435]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 83B141FCF for ; Wed, 26 Apr 2023 22:18:00 -0700 (PDT) Received: by mail-pf1-x435.google.com with SMTP id d2e1a72fcca58-63b70f0b320so10105468b3a.1 for ; Wed, 26 Apr 2023 22:18:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bytedance.com; s=google; t=1682572680; x=1685164680; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=GMaPzJXWrSlkjaxg9I3D2+BQ3FkGijEWz0HmGH4ctBg=; b=K8Ar7FjGTpx9OUTYuvFL8WOi2JYgRtANCY+k0zhV++uZlFYfg1dv2kzq6tPqv4V++e ohR6AHy7h2lfsx104z40E8MmhPD7vAtzVo93Id0EeA2ndo4QgWycBGroBI6FCC0nR5WZ 1H3nrbYRRwa9yww+/GwXkMDJeYxz0zLPsGiFlH+Pqh1Q5ajqQ/Ll7yDnAbhKJ/agGr2d 7vau+aJ7N4K1IJz7io/UzmQfMEkl1uRsHnVh8dGIZdvaRpxloPhDyij3sklcPpblRAA8 hMK9F6dnjYNup9A9M0Eo6OFqxlOl7BmvqxzEnWkWIOPPKDV+tld31O1Om7XBqgD3naLd KgZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682572680; x=1685164680; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=GMaPzJXWrSlkjaxg9I3D2+BQ3FkGijEWz0HmGH4ctBg=; b=fkB6XRFk1wjPJQOPVXMsW5bl++3HdVpPQVKqgIW4Mw2XiD57KXJ1loSt8+NP9iSjWR SfgBLg93YwM2qZ+P7GwjTvtzjzX4926SuZnlIVlzAmpbOB063KpiZr1WRiZjLGuXWxse oi/wZf/rIF0CQABPfWJ9u4MAooiiix1MpIctIS4y8bwDysNwuVB8PzZ5THM70C7ARgT8 ufIWiq8b5VUvUwnGrXtCpcg1p6xXHmZJPBe4UlRRB7E+uNq++aeEhNFP65Dq5yR71ghf KgJB/lRftrSyXKrsczQZqIOz5RfKd7sKKJG4dWmtsWKm7j91w4qZh6AP/RvrKQ45YYLC QBPw== X-Gm-Message-State: AC+VfDwo6ED4EwH9JqPkrCPwr5Sp+kL7BDfVmjMBgncTc/zYWkVUnV6S 4efprei1yq2q3581kjgtWuMXig== X-Google-Smtp-Source: ACHHUZ6dMpsvHqTKYBR1bclPnIJa3Hb0cd8DQ0u1EuX8+QOryRHNOKFNSfUKpJmSLfW2IWk6sObczw== X-Received: by 2002:a05:6a21:3945:b0:ee:d553:5cee with SMTP id ac5-20020a056a21394500b000eed5535ceemr407699pzc.16.1682572680001; Wed, 26 Apr 2023 22:18:00 -0700 (PDT) Received: from [10.2.117.253] ([61.213.176.6]) by smtp.gmail.com with ESMTPSA id w68-20020a636247000000b00520f4ecd71esm10529815pgb.93.2023.04.26.22.17.54 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Wed, 26 Apr 2023 22:17:59 -0700 (PDT) Message-ID: <9ba3577b-0098-86da-ff2e-636cb5a8ae1a@bytedance.com> Date: Thu, 27 Apr 2023 13:17:52 +0800 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.10.0 Subject: Re: [PATCH v6 0/2] sched/numa: add per-process numa_balancing Content-Language: en-US To: Peter Zijlstra , John Hubbard , Bagas Sanjaya , Mel Gorman Cc: linux-api@vger.kernel.org, linux-kernel@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-doc@vger.kernel.org, John Hubbard , Jonathan Corbet , Ingo Molnar , Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider References: <20230412140701.58337-1-ligang.bdlg@bytedance.com> From: Gang Li In-Reply-To: <20230412140701.58337-1-ligang.bdlg@bytedance.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, Looks like there are no objections or comments. Do you have any ideas? Can we merge this patch in the next merge window. Thanks! On 2023/4/12 22:06, Gang Li wrote: > # Introduce > Add PR_NUMA_BALANCING in prctl. > > A large number of page faults will cause performance loss when numa > balancing is performing. Thus those processes which care about worst-case > performance need numa balancing disabled. Others, on the contrary, allow a > temporary performance loss in exchange for higher average performance, so > enable numa balancing is better for them. > > Numa balancing can only be controlled globally by > /proc/sys/kernel/numa_balancing. Due to the above case, we want to > disable/enable numa_balancing per-process instead. >