Received: by 2002:a05:7412:251c:b0:e2:908c:2ebd with SMTP id w28csp1063874rda; Mon, 23 Oct 2023 00:49:53 -0700 (PDT) X-Google-Smtp-Source: AGHT+IFLQjcb+GQFW+QuRtMG88yj9Im3yzfsntXa0qfliskC6qrNpbwCCUuSFej4PTJ1AvfPwJJi X-Received: by 2002:a05:6358:cc1d:b0:168:e621:e3b6 with SMTP id gx29-20020a056358cc1d00b00168e621e3b6mr695631rwb.28.1698047393445; Mon, 23 Oct 2023 00:49:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1698047393; cv=none; d=google.com; s=arc-20160816; b=W/VhGpMHRDHJaM9/QliaNd9bj57cKzTkb7rDF55HDZ04TFWBJ97h7LauAXT53TtwYI SMwLAMysDIfo5EvDKdsYDKGMvyzDxm1WbXB6EdQu2mx3Z2nJ90l+76MXzIgBVQ5nYeBg O96b2yY9NK+tJ4cI4IqGJU43U2PbZdKatB5+QQD1x/dVj+Wi/6OndCZTM2It77acfJoi cvEgtCj8fN762PFbdzI2bnBdQlANedR1RcJwlo694hs5MZhy1CmCi315r/9/1aFMG58Q smDK2r+35DXAm7qBppDMy5aDaXKvCab43CifqFVOlJ2UeWxhnqyJ8Hz6+83SRvtwHn7R f+EQ== 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=BaUKmUOPnBOyfLe348LjPsUceJfeREwvV2PFGH99DQw=; fh=oHhRAa/5qL1GTDBBqn0pkOs5yq1alC3E07wwnhGqIk4=; b=TuL/7GVCWzcARESL4lVPN0u+oCLT5zSKqrBHL5TbjS7oKP0qnfheQqaU+hZMsl3rCo WNq8yiOCURL+ccp6Bl8A0G5ESWffBnLbWW/1RA4pULUD18foASu+b6BbAMUiwiIZvHTv QkRPEhozSzMtvoCS/AFS1qyiKLHTT2vGSM4+1OBn4xlYItdBgD4T0qF8pUkQJgpm6oDN ynUk501XjURFggqULesrnnxG2aKaNh3avZohna803mU+K8+1dk3ruWa9ZALHuPPhoctb ZeXoY7Uh+Q/LNmeqaupXvVdhx6MqnMQMbZyMAHByW7C1GFBZMrKC11vJhMNrh35momNf PkQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QxnFg/Nw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from snail.vger.email (snail.vger.email. [23.128.96.37]) by mx.google.com with ESMTPS id w29-20020a63935d000000b005b88eaf4f43si4089142pgm.243.2023.10.23.00.49.53 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 23 Oct 2023 00:49:53 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) client-ip=23.128.96.37; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b="QxnFg/Nw"; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.37 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by snail.vger.email (Postfix) with ESMTP id 7A03B804BDF4; Mon, 23 Oct 2023 00:49:52 -0700 (PDT) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.10 at snail.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233403AbjJWHtt (ORCPT + 99 others); Mon, 23 Oct 2023 03:49:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36448 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233588AbjJWHtr (ORCPT ); Mon, 23 Oct 2023 03:49:47 -0400 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E1801D7A for ; Mon, 23 Oct 2023 00:49:45 -0700 (PDT) Received: by smtp.kernel.org (Postfix) with ESMTPSA id A7C1CC433C7; Mon, 23 Oct 2023 07:49:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1698047385; bh=Z7625dXSwNAIWJbpV0miy7cQjxCDQhBKrpEH6/RCiGc=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=QxnFg/NwZYy5E8q3I1ENeLf2kNwEL2cxWcPPRytCSFoiDj7IP3kC/gyn9uCFjgXJp mxBekediY3Y+zUv6LXj+tz6Vv0riljHZxEQVA4bnKE5MDq0QH1Sd3j3zk5UIbdPJCO xtTPvMWhjaY+sEkf1k8dP07Yv+frHdKcpGmebn87j3/30MBOb8p0TpU8UHWa+ckq2Q qGP59GFdjyMmehFz0ZZUL5AjW1LQx9Vdb5qCuxpGJ62wdqFnUZ/oSnHR2wcVduFLuI cf3nk9+bTSdo6Ztrwejj6nJ75QdMaGhRfk1RPSk8guZwHEdB7gJzOt/rnLcC8dwnVL 3Y0RCOB7kv/bA== Date: Mon, 23 Oct 2023 08:49:40 +0100 From: Simon Horman To: Abel Wu Cc: "David S . Miller" , Eric Dumazet , Jakub Kicinski , Paolo Abeni , Shakeel Butt , netdev@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH net v3 2/3] sock: Doc behaviors for pressure heurisitics Message-ID: <20231023074940.GU2100445@kernel.org> References: <20231019120026.42215-1-wuyun.abel@bytedance.com> <20231019120026.42215-2-wuyun.abel@bytedance.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231019120026.42215-2-wuyun.abel@bytedance.com> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, 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 X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (snail.vger.email [0.0.0.0]); Mon, 23 Oct 2023 00:49:52 -0700 (PDT) On Thu, Oct 19, 2023 at 08:00:25PM +0800, Abel Wu wrote: > There are now two accounting infrastructures for skmem, while the > heuristics in __sk_mem_raise_allocated() were actually introduced > before memcg was born. > > Add some comments to clarify whether they can be applied to both > infrastructures or not. > > Suggested-by: Shakeel Butt > Signed-off-by: Abel Wu > Acked-by: Shakeel Butt Reviewed-by: Simon Horman