Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp2322049rwr; Fri, 21 Apr 2023 07:25:15 -0700 (PDT) X-Google-Smtp-Source: AKy350ZMlH1E2UoajNTYrGzlSK+zLg+dDt3O8YpN0lbpcxqY5aEhRHrbfEnjau0UorYb/bbaQF9B X-Received: by 2002:a05:6a21:3384:b0:f0:251f:f099 with SMTP id yy4-20020a056a21338400b000f0251ff099mr7339210pzb.1.1682087114719; Fri, 21 Apr 2023 07:25:14 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1682087114; cv=none; d=google.com; s=arc-20160816; b=fZJY2XeQYCslFEDoJ5gmU4zPf0YnRpvEqUCHZ0nZCCB+cvi9s74UBvh5jc3yhiYTeS 89U2bvpxS1dRmsnvuJsNkpYV0/7479YEDspTSht8Bz8nZ7B3mg9EHi2PyFk5x5qhRRE4 h2V4kVJnmnUfOKBN9lSsuzFgeJqMNl1Qi+9ln6XpF2yG62c3mCW7TD5gHPjLrYULMzYV voyxMfk/wYjEAtfzexIe6NfpTxcnxZboJg9Z2uAmAEhqcFKiaOknzB0cwF/PK0knjE+V RXpFQ79DylCB04IccpfblnYPr2B/RDBCVG7uIl/ilhRH88f4Epve5E+OICBAs6/lRp3q 6PfQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=iRE0WrMWpFap+y3dmkLyk4ksWv38PiYMbGEKVJWOWPE=; b=PciCFvVnbFO0Sng5x457MMozuHi3/NTAQj+lCDECNsLDYrmGSnbwEKNBffqSn7+YAX DxPUEwjOH5Oc8nTW/nkl9exmBY/SWu4lM23GXbPfAsRhZ5DgGU7H5NpGPAaP/rctsaJ2 YLSLKnCnvbLHmGGUGTsPBuyFs8jwKw7ch4OI6qLsn0D9MOe8de5lV3MoQ8xRTBcOj940 c7+uCx98WB3b+pX0E+SsL9b42quoW7ubOyg/qq2kmcnIrreAPT0AL6QNx8BXYNsRvW9a MKWXa7SdRPnn7GAwzk6py3Dpefc9l7qR8BsI5+YYX97LEezbRdjIiVzkF/VIagmbgiO9 5+zA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20221208 header.b=AnE8soA7; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id k190-20020a6384c7000000b0051a42b37d68si4597159pgd.772.2023.04.21.07.25.01; Fri, 21 Apr 2023 07:25:14 -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=@google.com header.s=20221208 header.b=AnE8soA7; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231675AbjDUOWQ (ORCPT + 99 others); Fri, 21 Apr 2023 10:22:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58952 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231483AbjDUOWM (ORCPT ); Fri, 21 Apr 2023 10:22:12 -0400 Received: from mail-il1-x130.google.com (mail-il1-x130.google.com [IPv6:2607:f8b0:4864:20::130]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 11907125A8 for ; Fri, 21 Apr 2023 07:22:05 -0700 (PDT) Received: by mail-il1-x130.google.com with SMTP id e9e14a558f8ab-328cb023b1dso695215ab.0 for ; Fri, 21 Apr 2023 07:22:05 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20221208; t=1682086924; x=1684678924; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=iRE0WrMWpFap+y3dmkLyk4ksWv38PiYMbGEKVJWOWPE=; b=AnE8soA78cRTw/z6Mdl8v01EinY7b2zJC51/fkhvnxo5uCo0UL/jUJ5eGG8GHlK3q9 /jEMi5cgCHXZY96W4+enSewpX/ixcLd+iCK8H+KhRTShFuwJT3LuyCk0JPDeGtQ0Pmvv HLI/WEYqsS8jVqiZz2E49H83PQPUgyz0+flfFchksW2GqE0c8RYZXnKJtBWNfwLf1LnU aE91dPOB9Vg6lS5Y+qM7c8I8fkR7pIyxcKyOPDs/EKeMZonyVcq3hu/VOJVghmjH3PuO McGPKBxcpjzc8u3VaiQw3aQhPKqqVbE5FZQcONugpSeuIDR7c0orO03m5TP30Nxd6Gbj vySA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1682086924; x=1684678924; h=content-transfer-encoding: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=iRE0WrMWpFap+y3dmkLyk4ksWv38PiYMbGEKVJWOWPE=; b=WdeXbOLpeQzOtJ673qJlFMgkV4tBgVwtCD8Tx9iEzp0hajQh+zxI1LLOiq4EifzNLb 3Y9pTJgeP9GebORy4yAOlGySbxgZH2JifN0FB0xmahJ1+sReLfLwRH+P97F2bdFsnm/D hGeyP4AJ2dlXvZB+Gbf4FFE9DTVQDltq0BkGCA4/LuV8QY9DWemnJy/+vWvLsnb5gQQ4 a05Y/8eYyramB3y2HRTQNHr6qsPfzTOb5OzqVosIhR3r9YDWNNtS6EtpDdHtKknXZGsl hYDmwpGY1ZNJY5qYv8CFmxVAEL0S0Nxwl3Obb+R90PnripI9N+cc9IkxUlphbBVgQUKt sZqw== X-Gm-Message-State: AAQBX9dIYJuHPYemWufZepuW4DcBOuhpYuuOqu/UwGdpvksYQxquVjOe nc+ZjdHcUw9HgOiR2rWw9vyxtefSLnRcYist1R7skQ== X-Received: by 2002:a92:ca05:0:b0:32a:baa8:2253 with SMTP id j5-20020a92ca05000000b0032abaa82253mr322511ils.8.1682086924161; Fri, 21 Apr 2023 07:22:04 -0700 (PDT) MIME-Version: 1.0 References: <20230224-track_gt-v7-0-11f08358c1ec@intel.com> <20230224-track_gt-v7-4-11f08358c1ec@intel.com> In-Reply-To: <20230224-track_gt-v7-4-11f08358c1ec@intel.com> From: Eric Dumazet Date: Fri, 21 Apr 2023 16:21:50 +0200 Message-ID: Subject: Re: [PATCH v7 4/7] lib/ref_tracker: remove warnings in case of allocation failure To: Andrzej Hajda Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , Tvrtko Ursulin , David Airlie , Daniel Vetter , linux-kernel@vger.kernel.org, intel-gfx@lists.freedesktop.org, dri-devel@lists.freedesktop.org, Chris Wilson , netdev@vger.kernel.org, Jakub Kicinski , Dmitry Vyukov , "David S. Miller" , Andi Shyti Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-17.6 required=5.0 tests=BAYES_00,DKIMWL_WL_MED, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF, ENV_AND_HDR_SPF_MATCH,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS, T_SCC_BODY_TEXT_LINE,USER_IN_DEF_DKIM_WL,USER_IN_DEF_SPF_WL autolearn=unavailable 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 Fri, Apr 21, 2023 at 1:35=E2=80=AFPM Andrzej Hajda wrote: > > Library can handle allocation failures. To avoid allocation warnings > __GFP_NOWARN has been added everywhere. Moreover GFP_ATOMIC has been > replaced with GFP_NOWAIT in case of stack allocation on tracker free > call. > > Signed-off-by: Andrzej Hajda > Reviewed-by: Andi Shyti > --- Reviewed-by: Eric Dumazet Thanks.