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 C88F3C6379F for ; Wed, 22 Feb 2023 09:41:21 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S232226AbjBVJlU (ORCPT ); Wed, 22 Feb 2023 04:41:20 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33444 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231895AbjBVJk4 (ORCPT ); Wed, 22 Feb 2023 04:40:56 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 2FACD4481 for ; Wed, 22 Feb 2023 01:37:56 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=TX3Rxscot+rHVja+o+ab2vLZf40EPrsycVFF9XqUkm8=; b=ZCS7ZLLAQXf9qLK+criuLtw5pc IvesCDDDk+cQw3rXN+gXUwpu0/ML4JCiu1qeEcQKj83WjZio9akEXGgwqnX0xBaTW2LtQK2+Dp0sP v4akWcKFZI3lwFR48xRtfTxEqmTW8FDEBeyugQyuRarl+3UR97PFpf1tkOhujYzDUFtQB7tDvhw2Q 5kr0SZI5tt9qnDUDazjOOTg3LlNX03OoLCjNjpvpmowiYv/Qx66yFVEz1pKYuWrZLSjtZEPie6he2 f3vD5b50qBjI3yAYO9Jrz+s8TFkJfjKiK0zv9LGYUg41DJFx5bwWD4yv5swZpDJtpSdgq8+8I0+lS x99qlQsg==; Received: from j130084.upc-j.chello.nl ([24.132.130.84] helo=noisy.programming.kicks-ass.net) by casper.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1pUlYI-00DLzO-52; Wed, 22 Feb 2023 09:36:42 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 21BF93001E5; Wed, 22 Feb 2023 10:36:41 +0100 (CET) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id F26EC20AB479F; Wed, 22 Feb 2023 10:36:40 +0100 (CET) Date: Wed, 22 Feb 2023 10:36:40 +0100 From: Peter Zijlstra To: Benjamin Segall Cc: shrikanth hegde , mingo@redhat.com, Vincent Guittot , dietmar.eggemann@arm.com, Thomas Gleixner , Srikar Dronamraju , Arjan van de Ven , svaidy@linux.ibm.com, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH] sched/fair: Interleave cfs bandwidth timers for improved single thread performance at low utilization Message-ID: References: <9c57c92c-3e0c-b8c5-4be9-8f4df344a347@linux.vnet.ibm.com> <0c4d7bbb-3fef-031e-e9a1-a678ab68ade7@linux.vnet.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Feb 21, 2023 at 01:43:27PM -0800, Benjamin Segall wrote: > The value should never come up, so it's just a question of if it's fine > to call get_random_* in early contexts, which I don't know offhand. Should be, scheduler init is quite late as things go and people have been pushing the random init earlier and earlier.