Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp1902593rdh; Sat, 25 Nov 2023 06:48:58 -0800 (PST) X-Google-Smtp-Source: AGHT+IHZFtZCUt0WnKV+0Sp28dKoar2zc4HdoatxqE6xbGMLe7X4S8xCQ0nW8847MuaGxS522UKK X-Received: by 2002:a17:903:4d8:b0:1cf:a246:6f67 with SMTP id jm24-20020a17090304d800b001cfa2466f67mr5561461plb.1.1700923737725; Sat, 25 Nov 2023 06:48:57 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1700923737; cv=none; d=google.com; s=arc-20160816; b=LymOkbrTQP+Z4Cql2qSV6VNqsbF/I8CxzbtfTvVEZlYt5dG3QVP9iPMKLnLd3BtQTp mKu620RfcevUCnxdNYJCWCdTy/H/bbSSiBr8klhwiuP/FeGpZUL2EZKC60OcPyYepsrj t44oDfYpgLZUNo5aAUM2Dxss0LyiQA4DJVk+pE6y19mZMdZLgqIlU2T5guugLkSKrSZN zdP5MhzRtTfMkX4GQ2uIDftRVA9XizhSuu7R6JA0Y+mpp2yFhAtUsacYZY9pM4x9VxXZ KK7kmr2fMkWzWxY37VcTKbS+dUIzv4ZzI8gt0dByzJ4Oe2cG2z741gvC73xe1mkbmcWp ih8A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=9eHutxmSxfCNbiNsDXYDbdpbkOdZRoiOxf1bQEqKkPU=; fh=dfzOq4qcnRfKKTKOuaMHD5uGtQHsCafIKfAaIMDBrjs=; b=qwrY4yA87Y/Q3X0jQf32GrDEWV11OJyu9AiSKFxOXqtQNusH+agvIsdhNZAkPfm+eV 061CIIUpFEUCQzLWT8rYhQR+rWOHS5+eI6Xej0ZrIwRqbimgvJ4P+VIZ38VD49ErMgOj dRNMpNKi1VMM8cgYrG/2rukRaFXcqFT2M4djGHGIYT/N0vEA0+UmdaNZDjaXqZA/WNa9 gJ6C3IgUdzKg2P/cGQ1IuAcWwMrIgPtgeovUuQJEQekTDD4Ms8iHmIB6dQLV6jupno5H NVeDHrWi4zNq9BQvMj2eiAih5L1yqk3EeaSx3FoPFzyiIJBnlCmMd9sU1KN6C4mbyu3w XGtQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v5mRcIDQ; spf=pass (google.com: domain of linux-wireless+bounces-74-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-74-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [2604:1380:40f1:3f00::1]) by mx.google.com with ESMTPS id p18-20020a170902a41200b001cc24ff4197si5542627plq.311.2023.11.25.06.48.57 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 25 Nov 2023 06:48:57 -0800 (PST) Received-SPF: pass (google.com: domain of linux-wireless+bounces-74-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) client-ip=2604:1380:40f1:3f00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linuxfoundation.org header.s=korg header.b=v5mRcIDQ; spf=pass (google.com: domain of linux-wireless+bounces-74-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:40f1:3f00::1 as permitted sender) smtp.mailfrom="linux-wireless+bounces-74-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org 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 sy.mirrors.kernel.org (Postfix) with ESMTPS id D9ABFB210B2 for ; Sat, 25 Nov 2023 14:48:54 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 3CE1628DB8; Sat, 25 Nov 2023 14:48:50 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=linuxfoundation.org header.i=@linuxfoundation.org header.b="v5mRcIDQ" X-Original-To: linux-wireless@vger.kernel.org Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 20E6C28DAD for ; Sat, 25 Nov 2023 14:48:49 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3CDEFC433C7; Sat, 25 Nov 2023 14:48:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linuxfoundation.org; s=korg; t=1700923729; bh=tS+XD1FVGDo2P6LA3feC8M3YjSB4G+skn0rfq45uNdA=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=v5mRcIDQ6F27z7/oqY8Xb1ZybREwiZ5PAqpxWzHIf/EXMsVjqqSCMZ+dnRtrswOGd 2tr+gHbd6GirIGI6Hxb7VIaiXEYX9rv+6qtX6rTGECG6Ws8SsLrvuJKaQ2cgWriEuQ c86kEduv8S8KIKER09womRbefHoPWj0Xo1W7+jFk= Date: Sat, 25 Nov 2023 14:48:46 +0000 From: Greg Kroah-Hartman To: Johannes Berg Cc: linux-wireless@vger.kernel.org, linux-kernel@vger.kernel.org, "Rafael J. Wysocki" , Johannes Berg Subject: Re: [PATCH v2 3/6] debugfs: add API to allow debugfs operations cancellation Message-ID: <2023112537-anyhow-bottle-f499@gregkh> References: <20231124162522.16344-7-johannes@sipsolutions.net> <20231124172522.8c5d739c69e7.If54cd017d5734024e7bee5e4a237e17244050480@changeid> Precedence: bulk X-Mailing-List: linux-wireless@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231124172522.8c5d739c69e7.If54cd017d5734024e7bee5e4a237e17244050480@changeid> On Fri, Nov 24, 2023 at 05:25:26PM +0100, Johannes Berg wrote: > From: Johannes Berg > > In some cases there might be longer-running hardware accesses > in debugfs files, or attempts to acquire locks, and we want > to still be able to quickly remove the files. > > Introduce a cancellations API to use inside the debugfs handler > functions to be able to cancel such operations on a per-file > basis. > > Signed-off-by: Johannes Berg Acked-by: Greg Kroah-Hartman