Received: by 2002:a05:6358:9144:b0:117:f937:c515 with SMTP id r4csp5706156rwr; Tue, 9 May 2023 05:26:20 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ6D886eo1w1YxFdiJNBz3tsYTYkqwSdOLbrouxJvXhLq76eyMgqX6G1qYujVbPDtj/mYX1+ X-Received: by 2002:a05:6a21:9993:b0:100:aa15:f425 with SMTP id ve19-20020a056a21999300b00100aa15f425mr7022785pzb.20.1683635180442; Tue, 09 May 2023 05:26:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1683635180; cv=none; d=google.com; s=arc-20160816; b=bO4pmDDZ2ltQpsZOHK1Lf/Wb3ceaq0+7pKtWLTMeUqVcPVWWbViWOJLFGCDHk0+ooz lQZ9oFkRInRQeGVzsTLBMbEu3b3vhHIvlqKPWve1IgZkYU4kPfC2Wi/lFwoyAj2Rob3u D1FFxTi27blRCTJzPVtTViiHMvWKeoEZV6MjfsEk+2WXKbCSRf3hDM/cfpQWA5i5ImEI bmwGQTTGlvOEeFovjm7TuOTi4rmLPaGlaEPO9r97PscabRxexTGFE6xwZci0KOfSbOp7 uiLxz5Pd2pSlzxreVDZt2O/8tj2QW0KqbyhxoB3iONNK5S36tc/YLU8oTRrlFxw4MzY6 jnhg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:message-id:date:references :in-reply-to:subject:cc:to:dkim-signature:dkim-signature:from; bh=Kvqm2dmajpGghQsJDkgZdeiUUB7dpowlCQreLwcp9to=; b=TW/3G3MyNJRj0wsDY0+H9joMHE+xHtPZMnFNbn3sFHE2tPwxiaGl01b2wkcUE5/xjd M6bTndYvZ/R8VkQZ4YM2TUnqoWIpYL+/tckAO7SatGcJG60haQry7I7VzdcHYNyO8Erj lbRnJX8/iXhxZ+saYpl8aVvkHktctGPsHx88N73iBnqQ1PxqmhHvSF1JYNFNwjBQVlgv +TC/BRakmbUMI8NnWlBPnGaZwi1J497dmoQ5OgZw5ZHtgL5gcYG+zvz8FzZe2+18vVoE 1VEii/ZCv6wAglQD9bEYAPvukHu/SC7KtfcHsDPaIp6XGV4zZwUnYlAg8pdtb8bN1l7H M1DA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linutronix.de header.s=2020 header.b="VVZ0E+/8"; dkim=neutral (no key) header.i=@linutronix.de header.b=f+6K7frA; 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=QUARANTINE dis=NONE) header.from=linutronix.de Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id j13-20020a63cf0d000000b005133f65dc69si1409402pgg.219.2023.05.09.05.26.07; Tue, 09 May 2023 05:26:20 -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=@linutronix.de header.s=2020 header.b="VVZ0E+/8"; dkim=neutral (no key) header.i=@linutronix.de header.b=f+6K7frA; 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=QUARANTINE dis=NONE) header.from=linutronix.de Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S235178AbjEIMFF (ORCPT + 99 others); Tue, 9 May 2023 08:05:05 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:49212 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230060AbjEIMFE (ORCPT ); Tue, 9 May 2023 08:05:04 -0400 Received: from galois.linutronix.de (Galois.linutronix.de [193.142.43.55]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6938BFA for ; Tue, 9 May 2023 05:05:02 -0700 (PDT) From: Thomas Gleixner DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020; t=1683633899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Kvqm2dmajpGghQsJDkgZdeiUUB7dpowlCQreLwcp9to=; b=VVZ0E+/8SoSfv4iZ+D4UY/S8uRPa8PNRmGzScCW3B1dN4WTFuQpFIG0/UVHxs5oqS1tLp/ leDeEFFUHOSY4ZgOKFhHqxxrHF3ANx8gfGZ0khykCcmgDRuxm8DeSF/GQLjWY2Jgt6qV52 VMfxHjhFAIuDV0CHNJAY4Q2CBv4N8fYckwYWBLdXSQSgPJndUsbG8Ds8TY8qZUhtr7Zyke QsclPJaHZrqYeMXGzYso+RIYIGbUnqF+hqe9iOwJroaluqZN2AVWtN9AdYiieLYXSk5hUa BEOxq3h6yPcGKVGLfygrKBazIVkvp4xbfsQGjs61cHy5WK+EN5ruLKaqrU/nYQ== DKIM-Signature: v=1; a=ed25519-sha256; c=relaxed/relaxed; d=linutronix.de; s=2020e; t=1683633899; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=Kvqm2dmajpGghQsJDkgZdeiUUB7dpowlCQreLwcp9to=; b=f+6K7frA+UDBc42P9UhYbr/DfRkzov8/muWaoE+mbTtIn3fz2Tq4EfTp8Fk0mp7emBl+zT wyhNkTYqKC0CkdAQ== To: Frederic Weisbecker Cc: LKML , Anna-Maria Behnsen , Peter Zijlstra , syzbot+5c54bd3eb218bb595aa9@syzkaller.appspotmail.com, Dmitry Vyukov , Sebastian Siewior , Michael Kerrisk Subject: Re: [patch 02/20] posix-timers: Ensure timer ID search-loop limit is valid In-Reply-To: References: <20230425181827.219128101@linutronix.de> <20230425183312.932345089@linutronix.de> <87zg6i2xn3.ffs@tglx> <87v8h62vwp.ffs@tglx> Date: Tue, 09 May 2023 14:04:59 +0200 Message-ID: <87sfc51zis.ffs@tglx> MIME-Version: 1.0 Content-Type: text/plain X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED,SPF_HELO_NONE, SPF_PASS,T_SCC_BODY_TEXT_LINE,URIBL_BLOCKED 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 On Tue, May 09 2023 at 11:42, Frederic Weisbecker wrote: > On Sat, May 06, 2023 at 01:36:22AM +0200, Thomas Gleixner wrote: >> That would avoid the hash table lookups and the related issues, but OTH >> it would require to allocate one extra page per TGID if the application >> uses a single posix timer. >> >> Not sure whether that's worth it though. > > Not sure either... See my other reply on that...