Received: by 2002:a05:6358:3188:b0:123:57c1:9b43 with SMTP id q8csp5727796rwd; Mon, 5 Jun 2023 07:49:33 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6sS0Xu4UYY14N09mVDRZC+qjYhvPOzbT5yYcPjq3/Z2PDcaxT0QGsmIhVFaxmZXKW9AZon X-Received: by 2002:a17:90b:4f4a:b0:256:8e2d:1ec8 with SMTP id pj10-20020a17090b4f4a00b002568e2d1ec8mr7248707pjb.41.1685976573077; Mon, 05 Jun 2023 07:49:33 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1685976573; cv=none; d=google.com; s=arc-20160816; b=I4cgZN1lH7PKGMhTWxs3nSUvYvDrqeqB4M7ZQ9eylkph/kpqU4MtlxDWtrPtjg+2SN Tx+ihBdPOcL5oMCWjZxHpmtoowf08PI5EJ8322gFUZjExtPCUGXQ/rQzAl8R4ktc3Cvo cZj9iP1Z0VHsuBs21BkIfjB4UBJQiyDsGYwVARqDMpBz7Il6ImGR/D7kyJy9bk9uKdpc hoa2BOF0GlCIlgwuf7bOdzYF8RPKBI7Kbekff9RIzi8IFHBeMzPU9bwaW3JOZtA+EbZS ZjremhrPmMZTu+VvN2KY1UnxjqVLRmy+AV9hNoYvArVAbslXoEFTLtwjYRU21Yv3tIzN Ca3w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-transfer-encoding :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=Ott6QkU33x2anR4CvfUdFD5nJPyAw+QfcfOk/oDIJNg=; b=vgn232vicv41LlZ9gmYRbcdk0th2sdo338JOAt7HLDwnoqNQvOjh/1f8KzNX2QCs8y 2iXO10xaYYsl5NItc+8jlqmyeBFMDPefBo2Eza31XdPHikxKm6KmqDE6E3TISxiwg6nT bGBmPSPoomcXcnf4E6cDdv/XXYxpsJ8+5VoLZP6uiIQ1o/c+3VqBnIuckG7K8jQa71kT yHcYHjuh8Sr+g16SD9OyXHTkDI8CaSpkK59e8Qcs9ZU62CsljN/isUAtmvjv2N4a7b/Y SeirxIIYyh9BjIW3rcgXnd8wFD2tDlL1m4L5LD9C/8FwsaDHWQ/7uiYeAt1WlzvoQlg7 gQKA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z85vgZVk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id e28-20020a63371c000000b005194eaa611csi5447968pga.397.2023.06.05.07.49.15; Mon, 05 Jun 2023 07:49:33 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=Z85vgZVk; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232184AbjFEOcY (ORCPT + 99 others); Mon, 5 Jun 2023 10:32:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54176 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S234017AbjFEOcX (ORCPT ); Mon, 5 Jun 2023 10:32:23 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [IPv6:2604:1380:4641:c500::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 683229E for ; Mon, 5 Jun 2023 07:32:19 -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 F124D614CC for ; Mon, 5 Jun 2023 14:32:18 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id D82E4C433EF; Mon, 5 Jun 2023 14:32:17 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1685975538; bh=hluwjFtl0wl3g8EBBrdweWbwxnEv+Q1uFg9CuTe/xMg=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=Z85vgZVkU0XCdbovA4Vn34FHZwpJe1TotUhGF0mUx+4LTxd42cAmOuToO4XwbdUGH 6Z/k8cXZx7999InevWuqEZud7wZQsezjlpGZaKlb9C+smI9TffslAc6DKrFy0ofqFD DHlBQQdAbgvJ6ZVcpLkAe3EqqvO7Mdumx/livEUJcGvLZqUWcA5SXNZARaMiFbXO8U q7Crp/peP21yCPHmyzGAAGuFp2e/9HsSfshIwo/rNJowjTZB6/3jqj+VGFy12R8hxp cfrdnRV/dpEZya5y7vzJzLKKNjCGNzTPeW/GVneCnGsLhflRAZHE21RJNnmGj7Dliv 5pPk5fAs4g34A== Date: Mon, 5 Jun 2023 16:32:13 +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 00/20] posix-timers: Fixes and cleanups Message-ID: References: <20230425181827.219128101@linutronix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20230425181827.219128101@linutronix.de> X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Le Tue, Apr 25, 2023 at 08:48:55PM +0200, Thomas Gleixner a ?crit : > Hi! > > A recent syzcaller/KCSAN report about a data race and an actually broken > loop termination due to that race made me look deeper into the posix timer > code. > > Aside of the loop termination issue this unearthed another issue in the > exit() path where timer deletion might livelock on RT enabled kernels. > > While going through the code with a fine comb, I stumbled over another > place which needs READ/WRITE_ONCE() annotations, tons of outdated and/or > uncomprehensible comments and a bunch of silly code. > > The series has therefore a larger set of cleanups on top of the two fixes. > > It is based on > > git://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git timers/core > > and also availble from git: > > git://git.kernel.org/pub/scm/linux/kernel/git/tglx/devel.git timers/posix > > Thanks, > > tglx Thanks for this extremely useful series!