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 D4EC7C77B7A for ; Thu, 1 Jun 2023 10:27:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233657AbjFAK1L (ORCPT ); Thu, 1 Jun 2023 06:27:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58770 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233612AbjFAK0q (ORCPT ); Thu, 1 Jun 2023 06:26:46 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 12BD0189 for ; Thu, 1 Jun 2023 03:25:37 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id A3AA8615D7 for ; Thu, 1 Jun 2023 10:25:36 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id B23A5C433EF; Thu, 1 Jun 2023 10:25:35 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685615136; bh=2NFcB3OlY57envdQiYDDNTdYtxgQPhcvUDX+QUQL2V8=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=UO/XeYqNjEo8aC6nxwWUCHsLPXCbooa4XvycKNsE6MxUNDC5mkoJq56Oh9BJiRNhq wliMe46oQkMabL9TvLDlBtdO3XIRNUxgchIKs4E51t51z9o+7iTXt6dyup22agm0g4 uqthr9UNTODwfSeeM/Eeit9GZqevhVIFixNQ1IDMjkglvYlyYv/aZ0i+z4L6LHTV+q hkUWKK9yzIvf7lEGCfSw8Gcv/08HHXvpLMskAGt0wRY6aTvglmDGFhazMkCbUvuo8r ZTc9UsgRzGD1IgijUN8+JYRbFi5zrHwbnsBOYxBjTAYbmqfnmxwvv7GHJL9cCu/UtI JMoE3jmnl4kFA== Date: Thu, 1 Jun 2023 12:25:33 +0200 From: Frederic Weisbecker To: Thomas Gleixner Cc: LKML , Anna-Maria Behnsen , Peter Zijlstra , Sebastian Siewior , syzbot+5c54bd3eb218bb595aa9@syzkaller.appspotmail.com, Dmitry Vyukov , Michael Kerrisk Subject: Re: [patch 09/20] posix-timers: Split release_posix_timers() Message-ID: References: <20230425181827.219128101@linutronix.de> <20230425183313.301432503@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230425183313.301432503@linutronix.de> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 25, 2023 at 08:49:09PM +0200, Thomas Gleixner wrote: > release_posix_timers() is called for cleaning up both hashed and unhashed > timers. The cases are differentiated by an argument and the usage is > hideous. > > Seperate the actual free path out and use it for unhashed timers. Provide a > function for hashed timers. > > No functional change. > > Signed-off-by: Thomas Gleixner Reviewed-by: Frederic Weisbecker