From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 3B7A4C46CA3 for ; Sat, 25 Nov 2023 14:49:04 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232367AbjKYOsy (ORCPT ); Sat, 25 Nov 2023 09:48:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56118 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232245AbjKYOso (ORCPT ); Sat, 25 Nov 2023 09:48:44 -0500 Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 235861BD for ; Sat, 25 Nov 2023 06:48:49 -0800 (PST) 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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231124172522.8c5d739c69e7.If54cd017d5734024e7bee5e4a237e17244050480@changeid> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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