Received: by 2002:ab2:6a05:0:b0:1f8:1780:a4ed with SMTP id w5csp3152510lqo; Wed, 15 May 2024 00:51:20 -0700 (PDT) X-Forwarded-Encrypted: i=3; AJvYcCU7v282I88xxA2VTmYxHJm7akOmqWxgKpM2d+/iMl/8krU72+sKfrXGIr/pN7TaO//F1KwaAAWfBySHv/fHavNK+AO6/2upzbm/uJr9Cg== X-Google-Smtp-Source: AGHT+IF+OqdTU23qECr1KTsh1IEGVR8lREEhrnYbmQQzhxZaHK8oFJS4VorMZkqr6GzIuspjR9VD X-Received: by 2002:a05:620a:2e7:b0:792:98c1:fef8 with SMTP id af79cd13be357-792c7597772mr1378686785a.28.1715759475998; Wed, 15 May 2024 00:51:15 -0700 (PDT) ARC-Seal: i=2; a=rsa-sha256; t=1715759475; cv=pass; d=google.com; s=arc-20160816; b=RDPVcYD08M1C5AqpxPT0YDocpPScm1e4dCEMZKwIaVmIXHOCExZdCGz0jiPceYfXa8 Rq+O2E7EWmQpc7yhOK68gQ2VxoolujvNXKbJPfJg92ENQp9+oD14tUz1yNJam+Pt6FXs SkurIQk2NmqU1PTAtcV4WOJza3o+4cVz1SZmYnR8JrUT4qevhzaOjVw85PmqiyWDIhwy /VEbmRpInSnbqj4wRGrWoih4RxQs5FW9YdoH5qIbxSGmj+nYdU0fNA2pcDrTRbbQFqe2 dAttl8ZAIlU6fIs+WHT2YyMTGBlWMmTE6sDPFOv+Uk0FgjTiKiQ6UF3eG0RlZ0SrNpHV q4Fw== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=mime-version:list-unsubscribe:list-subscribe:list-id:precedence :organization:references:in-reply-to:message-id:subject:cc:to:from :date:dkim-signature; bh=Ut7zCC++fvkmhRkRtm0kIKlPKyPQE/wa4b3WctClYC0=; fh=8ojAZB8vJW6qv9pzGCXaRa4Ol9Ak2S2++msUodg9FV4=; b=MEvcumTcTjSeZE2L/NjiwqpSDc62MT2BV5AAs9F9tdAyxchn1vG27ZwT2XeJaOtzi4 oI0Yx2YYk62spvd1IgP+yuL0UXmMATMVXM7LGpVEmpbNjiHI6elno/wUF+aCNW7GF6ZZ EbKxlHDBd4or2i0AiBqE/qQD0rcZTywy3wM6XmbfDqXv67rqGXVmjUxYYWaKMggOH0mN A5n4DGrp6NhviVirZRvwxIpYDnOe/v1aePaAFxso1b0dLYSHpOe9n1esv7kBAhPHSWnm 96op6YytRm9VJv7ZQ/XucbTSz9cSZHQqx18tnH/VFI9VAbrNjkGlXXvBTg01MbnXOLw0 oOAw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=FBeDfTHu; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-179609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id af79cd13be357-792bf30b5efsi1348440785a.350.2024.05.15.00.51.15 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 15 May 2024 00:51:15 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel+bounces-179609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@denx.de header.s=phobos-20191101 header.b=FBeDfTHu; arc=pass (i=1 spf=pass spfdomain=denx.de dkim=pass dkdomain=denx.de dmarc=pass fromdomain=denx.de); spf=pass (google.com: domain of linux-kernel+bounces-179609-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-179609-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=denx.de Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id B577D1C2100C for ; Wed, 15 May 2024 07:51:15 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id D7B7B482E9; Wed, 15 May 2024 07:51:07 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b="FBeDfTHu" Received: from phobos.denx.de (phobos.denx.de [85.214.62.61]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 9E39F3D966; Wed, 15 May 2024 07:51:02 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=85.214.62.61 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715759467; cv=none; b=N9MjnMtXQ2fMEE5UL/J4PEz8SLgjOQOba2s+Y5MMgKjjvayB5UvW0SmpAFNLB2bVv2oun2SsNzDQy7RstEng0InnTTQc4z7VEG3ZgjOUABTI8BBPBaEb+XXBCMY2Tlo8NLj/D1ioHQXmsh+kE6bgCNnWhr8AoJRWjjhtT5FR7gg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1715759467; c=relaxed/simple; bh=2Ra2KzvAOrYGHzfBiCx3fJH4YdQUFj7/c4fPwFegBvg=; h=Date:From:To:Cc:Subject:Message-ID:In-Reply-To:References: MIME-Version:Content-Type; b=JVHvjiHhZvh3vliXW2gkowrDHnksKSyaT+GpUBmHWFtGWPGv2QwQBRXAZ9L0/OnYL+nsYUBqVw7yRXl1CS4/RZsE8ZcKxHaJYau/oEAAUUHIrW1HPLrOe+GvznGDPG11PLQzxhpypghE8TMBkBYGrEmpzieE/ru334ccSnlFSPE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de; spf=pass smtp.mailfrom=denx.de; dkim=pass (2048-bit key) header.d=denx.de header.i=@denx.de header.b=FBeDfTHu; arc=none smtp.client-ip=85.214.62.61 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=denx.de Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=denx.de Received: from wsk (85-222-111-42.dynamic.chello.pl [85.222.111.42]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) (No client certificate requested) (Authenticated sender: lukma@denx.de) by phobos.denx.de (Postfix) with ESMTPSA id 25DEE8817B; Wed, 15 May 2024 09:50:59 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=denx.de; s=phobos-20191101; t=1715759460; bh=Ut7zCC++fvkmhRkRtm0kIKlPKyPQE/wa4b3WctClYC0=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FBeDfTHunEQaZwYEM62M0gIUY7ppCx+1BveYVUZLakJDHow3GHaN0Z6EsxZwfHgKd Bgr1Dpi+Inwj/RvWmPIVh9Xsv0CK2HBNwzxGGMqQdvGVTylym2wlWwVuzjO57x+DXW HrqFQ62GzaUSct92pYhjCshGSXge8snJvCNelKdjdTHUOm5a0JDT6ywUU4QLraGLsG /5DOKi8ajNG5AsV5p54y0GYOjN9AX5ffPZmdxsmGzO2DUcOr07ugBRxA7iXXost4by wy2ZaT6e3kYSuAXqk02BGyA6AP6UOiDdYy17Jtxv2vCWnr+tuSwA4sYiGTnrDsJOxZ 4/CNjKvSV1ypQ== Date: Wed, 15 May 2024 09:50:35 +0200 From: Lukasz Majewski To: Sebastian Andrzej Siewior Cc: Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni , Eric Dumazet , Vladimir Oltean , "David S. Miller" , Oleksij Rempel , Tristram.Ha@microchip.com, Ravi Gunasekaran , Simon Horman , Nikita Zhandarovich , Murali Karicheri , Arvid Brodin , Dan Carpenter , "Ricardo B. Marliere" , Casper Andersson , linux-kernel@vger.kernel.org Subject: Re: [PATCH] net: hsr: Setup and delete proxy prune timer only when RedBox is enabled Message-ID: <20240515095035.1c6a8e47@wsk> In-Reply-To: <20240515071448.Vf_t99dI@linutronix.de> References: <20240514091306.229444-1-lukma@denx.de> <20240515064139.-B-_Hf0_@linutronix.de> <20240515090904.477c6b5f@wsk> <20240515071448.Vf_t99dI@linutronix.de> Organization: denx.de X-Mailer: Claws Mail 3.19.0 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: multipart/signed; boundary="Sig_/=iNR8my_p0HXF67qrEs5xe0"; protocol="application/pgp-signature"; micalg=pgp-sha512 X-Virus-Scanned: clamav-milter 0.103.8 at phobos.denx.de X-Virus-Status: Clean --Sig_/=iNR8my_p0HXF67qrEs5xe0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Hi Sebastian, > On 2024-05-15 09:09:04 [+0200], Lukasz Majewski wrote: > > Hi Sebastian, =20 > Hi Lukasz, >=20 > > My concern is only with resource allocation - when RedBox is not > > enabled the resources for this particular, not used timer are > > allocated anyway. =20 >=20 > timer_setup() does not allocate any resources. The initialisation is > pure static assignment. The timer subsystem does not look at this > timer until mod_timer() is invoked (or something similar). Thanks for the clarification. Considering the above - please just drop this patch. >=20 > > If this can be omitted - then we can drop the patch. > >=20 > > Best regards, > >=20 > > Lukasz Majewski =20 >=20 > Sebastian Best regards, Lukasz Majewski -- DENX Software Engineering GmbH, Managing Director: Erika Unter HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany Phone: (+49)-8142-66989-59 Fax: (+49)-8142-66989-80 Email: lukma@denx.de --Sig_/=iNR8my_p0HXF67qrEs5xe0 Content-Type: application/pgp-signature Content-Description: OpenPGP digital signature -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEgAyFJ+N6uu6+XupJAR8vZIA0zr0FAmZEaUsACgkQAR8vZIA0 zr28cAf/c81TJAjvacDjJZwGsTLd9w7jFwu4PZCY5cfl+cd73FlQSoNiMk/DdRrL CSOoMxmFXrIT5dn0E9tAZpbphGaAjf8tJdH5E04RVTwiwNx2EgjOj7ePVvo5SX9P p2JRFNhr0ZMg+AfeX6ybhWpPsgumbDyfbUlCV+DZYskMV0Ir71PKY5bC7tRGl/cV XQC6F97d3pJFDAezcDoBLN5fQ7jp62/ZDVFoaztJkd0Vj5BTjI4eN/VoEvpxTu5m EHi1HVUc3v9R0h6vHwpLvyMViIDXWGsCR3XUE+Aeebaz8SspUKVMTBSUv/CapekN gUDt8jO3skZCNXRpgbxK+oZZFAu1Fg== =tCGb -----END PGP SIGNATURE----- --Sig_/=iNR8my_p0HXF67qrEs5xe0--