Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp13836281pxu; Mon, 4 Jan 2021 05:57:30 -0800 (PST) X-Google-Smtp-Source: ABdhPJxnY1bef45CnLem8bMwXusRVM1qdh8Whuts32TxkXZcpq4HqcNvETrvwBTo1HczWno5eQ06 X-Received: by 2002:a17:906:3999:: with SMTP id h25mr67592663eje.146.1609768649859; Mon, 04 Jan 2021 05:57:29 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1609768649; cv=none; d=google.com; s=arc-20160816; b=dGXmcS9AmsIQhjtDgP8ibFpAMQbNnsbmhHYYv5LI4xCDeKCk+hOVhClBRTNUxafcVV BxY9Gys1Doka8//rKPJifiYbOA36KMno5iC44NGS6/in2P9qRkHci14ykWU/ZmvoLOAw P01/PiTm88b6XAQbr5C6lt0aUlIui2eH79zwnWw6Q4Z8q2GHZaAsV+oedRUG61NtbIB0 iHOxr0sh/Vfm3XOh9WD5lblB29Xo5lY/eo4hkcypHeHVGEt0nJsmq77V41lhUMeF2HQf ubohYPki20B9PM0YvAxc3bzOXKkkWe3NL4p/E8lyv6XqnrEy7EOK9rSmBNHrDdRhrYr6 0g/w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:date:cc:to:from:subject :message-id; bh=+77F9wfg0CzrEHEH88FbVBeXJ4BZ72D40pwCLyIG2pw=; b=srcXs4NhszIKrHhybAZwhBmvel+AJKQLdtPo2YlY80+euBntxm+FjLbATzIijz95JQ bcnsk9PmVPkcjvxWS/zs/q789PgZ+crAd+bkJI3HpFgtPwvhxHtJJhgL110dhb64r5Xa Ncj9TW9/GqzQLOXjcDoEqjKHHhIIv9ZJZhstPt3SJ2UJyzHeggtSt/8ofELjonTh+CxM 5APgkgZXWuej1BCEe7AYQ2Tb9NsATUst2TlbZyBQb3PrcdHJaXKQdmeApURKjs/7nQ+n g021gTjYKGktNPANfTyCWghEIoOQO4CUuO8cdZfEWA4dsHgKfOU+JrKA1BfxBfRsQPa4 ghpg== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id o26si31589668edw.74.2021.01.04.05.57.07; Mon, 04 Jan 2021 05:57:29 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-wireless-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-wireless-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726579AbhADNzW (ORCPT + 99 others); Mon, 4 Jan 2021 08:55:22 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54420 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726328AbhADNzW (ORCPT ); Mon, 4 Jan 2021 08:55:22 -0500 Received: from sipsolutions.net (s3.sipsolutions.net [IPv6:2a01:4f8:191:4433::2]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 1D885C061793 for ; Mon, 4 Jan 2021 05:54:41 -0800 (PST) Received: by sipsolutions.net with esmtpsa (TLS1.3:ECDHE_SECP256R1__RSA_PSS_RSAE_SHA256__AES_256_GCM:256) (Exim 4.94) (envelope-from ) id 1kwQJ1-001Vd8-GB; Mon, 04 Jan 2021 14:54:34 +0100 Message-ID: <097b8ea0c643c8372f1a57499969d7a96b1542bd.camel@sipsolutions.net> Subject: Re: [PATCH mac80211-next] mac80211: introduce aql_enable node in debugfs From: Johannes Berg To: Toke =?ISO-8859-1?Q?H=F8iland-J=F8rgensen?= , Lorenzo Bianconi Cc: Lorenzo Bianconi , linux-wireless , kyan@google.com Date: Mon, 04 Jan 2021 14:54:17 +0100 In-Reply-To: <87pn2k4xw1.fsf@toke.dk> References: <0ad278def3875fc2c60b4898daa3f0d53288c168.1608975795.git.lorenzo@kernel.org> <87y2h8525a.fsf@toke.dk> <87pn2k4xw1.fsf@toke.dk> Content-Type: text/plain; charset="UTF-8" User-Agent: Evolution 3.36.5 (3.36.5-2.fc32) MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-malware-bazaar: not-scanned Precedence: bulk List-ID: X-Mailing-List: linux-wireless@vger.kernel.org On Mon, 2021-01-04 at 14:47 +0100, Toke Høiland-Jørgensen wrote: > Lorenzo Bianconi writes: > > > > Lorenzo Bianconi writes: > > > > > > > Introduce aql_enable node in debugfs in order to enable/disable aql. > > > > This is useful for debugging purpose. > > > > > > Don't mind having a switch, although I wonder if it would be better to > > > overload the existing debugfs file (e.g., a threshold of 0 could disable > > > everything?) so as not to clutter up debugfs too much? > > > > > > -Toke > > > > > > > You mean to consider 0 as a special value to disable aql, right? I > > would prefer to have a dedicated switch for it since I guess it is > > clearer for users (but I can live with it :) ) > > Yeah, maybe a bit clearer but at the cost of clutter. I dunno, not a > strong preference either way; I guess Johannes can make the call :) I'm not sure I care about an extra debugfs file - but I do wonder about the extra check at runtime that would basically never be true since the default is enable ... Maybe that should use a static_branch() or something? johannes