Received: by 2002:a05:6a10:f347:0:0:0:0 with SMTP id d7csp4285728pxu; Tue, 1 Dec 2020 00:44:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJx9Kle2TZJ9ZWkA0rJyjQFZMU4mXGdTYoWJtYjqh7OMVKjuVYr4ozctVDqe5eILZ+Yrr2kJ X-Received: by 2002:a17:906:5f92:: with SMTP id a18mr2005962eju.126.1606812252173; Tue, 01 Dec 2020 00:44:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1606812252; cv=none; d=google.com; s=arc-20160816; b=ADhTyWRoJHVtDhoQheWsPoMm3KeUJH+qgjDNx3V2p2JNYC9wiA53R1ARv3IW5ickHm EBVkZCaINeuu9XfCahQMYab1yLEOKdCrVOUQq5AoeHYMDmBEfHXWPAWC2Mahz1gMiLBW 1mhpY/FV/taTHS7d46X0hhmDm2ALk4GJB3PdW9izI5sNso+TF83iS84wqE+QuvZo1XDj ekQhnlVpLp8JjLjCh+oDbBGyY3iXCyuRp+jgotLjFDYwaS9TZHTyw/oS42gJWLK5yYM0 AVHIwX+wamIutctyXLpCLJ5nBDrRFtJXAM0SlsJRSjBW6/VOhuPiD4Sj/XOnMswXWMHw TcrQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=/ImR5mFtg9wXtOK4HaxnOpZ6Mas0agGqVuxRp77OqsA=; b=cuPURiJizaZWG9uXH5c5W74xmoQyFD08PoohCsVJOoaHd8uV2IoGr7kv8f46E0PkBR r1VASQqhawiUGwU12rsin37JT6/5jx/btzPnSWXDslgOVCdQNJ4ZTgTrqBnlL68ocFea Q61Bsop6kSVcLp2AwdNV6UKv5w3gBacK7iL+eiVzGrQF90WX0hW1k6fDn/KfWYOzagN8 2T/qfldtkUlL08IRyu+HZWbHPohAJu4tWaYW1nB10wutyUEUgYMFKjoRRB7b0anNPgjk 5ZJs31nXYxCee/y/uWzwiFjvH+O8YYXhKjghiB49+Wt6xlA52dkgrscTm+CnKvi+5puO 7MVg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ENWN14cw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id w3si509125ejj.208.2020.12.01.00.43.48; Tue, 01 Dec 2020 00:44:12 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=ENWN14cw; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727438AbgLAIly (ORCPT + 99 others); Tue, 1 Dec 2020 03:41:54 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47868 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726997AbgLAIly (ORCPT ); Tue, 1 Dec 2020 03:41:54 -0500 Received: from mail-ot1-x341.google.com (mail-ot1-x341.google.com [IPv6:2607:f8b0:4864:20::341]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id F27B5C0613CF for ; Tue, 1 Dec 2020 00:41:13 -0800 (PST) Received: by mail-ot1-x341.google.com with SMTP id j21so793307otp.8 for ; Tue, 01 Dec 2020 00:41:13 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=/ImR5mFtg9wXtOK4HaxnOpZ6Mas0agGqVuxRp77OqsA=; b=ENWN14cwf5Erp2hWTHmj6/ZYf4XWpQfYkqIKHIPZmzszZmQDZMtaI/o4zhWJWx6m4S /rHUlqg1YJu2ENfj7oogh5ZX0p+6MnmsXhswsPWP85X06nXakNYPgfszPHCsRKj1htc3 B4MBfAw6Zyo+SDB5f9OjH9sKygIUrjK+bBC7XXjGMfkENAxVpTD7iIShkg4u56fq4hDc z+hJ8N/JqxhwyoIz3SseOZRMBVXG2ErBT/A/iQw65rBikykAvCJVGjafMi2UFotIkPXE Okdsc2WdmukIlpQmO2pkz8yDAtdvjg/uCa9y3DNI1k71f3U9FUrA/HBKnqZzXRUDLwBq Q9Lg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=/ImR5mFtg9wXtOK4HaxnOpZ6Mas0agGqVuxRp77OqsA=; b=jcDWcdYtnPaEPwbqkDppjYk+NvKducEwOvGCGnaKRnyQ+Yj+LFKciFmvDdBTlTJg8k 2qykTkyw7csAlrTCpGIz6S55ImKW7Dg1ejatVyeKVMdBacad6aYy/jY7l6hRgFOj/mpC yb05noW5dC+xEI+tGL5DFjplaNUeos7B4f8GgUv559LUZi9Duzf4sRLnggAg0lQEQ5Ll 4slnnNBMuTUg2MK+myNP24cuLa+XTwvEET5+yLpCvE3o02M7ttxDlgTUf8cWheWhrPoB cnL6AJTYQmYonoh1ub/ZJetcE7BOF5NpSUMUpA8afUmGnvUWi3jQ7eJJSbSeOA7uwEvO L3tA== X-Gm-Message-State: AOAM5304g8QSfvYlv8sGPRZhfgiOPdO24lYYXHjZHGrVPMTmbqDIYBDO SwG4Azf/k/OWDjhshuKn4VQfklfHTMpwYZuqy21hQQ== X-Received: by 2002:a9d:7d92:: with SMTP id j18mr1142495otn.17.1606812073263; Tue, 01 Dec 2020 00:41:13 -0800 (PST) MIME-Version: 1.0 References: <20201124110210.495616-1-elver@google.com> In-Reply-To: <20201124110210.495616-1-elver@google.com> From: Marco Elver Date: Tue, 1 Dec 2020 09:41:01 +0100 Message-ID: Subject: Re: [PATCH v3 1/2] kcsan: Rewrite kcsan_prandom_u32_max() without prandom_u32_state() To: "Paul E. McKenney" Cc: Will Deacon , Peter Zijlstra , Thomas Gleixner , Ingo Molnar , Mark Rutland , Boqun Feng , Dmitry Vyukov , kasan-dev , LKML Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Paul, On Tue, 24 Nov 2020 at 12:02, Marco Elver wrote: > Rewrite kcsan_prandom_u32_max() to not depend on code that might be > instrumented, removing any dependency on lib/random32.c. The rewrite > implements a simple linear congruential generator, that is sufficient > for our purposes (for udelay() and skip_watch counter randomness). > [...] It's been about 7 days -- feel free to pick up this series (unless there are new comments). Thanks, -- Marco