From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-f43.google.com (mail-wr1-f43.google.com [209.85.221.43]) by sourceware.org (Postfix) with ESMTPS id 88A26385840F for ; Thu, 31 Mar 2022 11:25:23 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 88A26385840F Received: by mail-wr1-f43.google.com with SMTP id m30so33359015wrb.1 for ; Thu, 31 Mar 2022 04:25:23 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=8EtGAut+LsaXjn9x2GeySbsy/6fr9ET5mzabqbEIVJw=; b=0jIQ0JR7p25dnxbmptYPYf9gAJ3ErLkT/WaDBdP3Tpad6VGSCgsf8kRnlM70cdKBN0 H5dhVi0Uv88MAt01FoaHbW6z5aqPCDGGFa6j2RFLU+RR+KUlz8G+JlGHkcwwhXovonTo 8XazyzoDwHgnPOX0m+f0pNHg04rf9R4kU6Orl5lb1jupj4yWAYGEThbtwUlH1Z24Ohml g+eRVM37HQg6emnuVE+UU5LzHZgWcIhpRgaDU7lldwzExTTtZRjuIAgnHLHiy2hxAwgl F2fSv0mh6+iT95B7B2dGpqQaVMfkwdQt3+4GDV5FYyO/xDBuFsN1JDTu0tG/Zj9B5mL0 MfVQ== X-Gm-Message-State: AOAM533Vbn/6K39Phur94KNkyIJMeCVt5ssZBDlKtD/AAecf6AXwUJzz Laub24XN8WF5d6tbyIxCA98wBAWMAUbtXEOkGMiWtQ== X-Google-Smtp-Source: ABdhPJwTzNxi+4cZYbiGS0SrXqpv4wdDGH+rMSVlX6VYKG8yr6aKI1fahUobnZsbMiIggJjMZ//XhmZt56HdbdMusZs= X-Received: by 2002:a5d:6d0e:0:b0:203:ecbe:97f8 with SMTP id e14-20020a5d6d0e000000b00203ecbe97f8mr3752256wrq.564.1648725922301; Thu, 31 Mar 2022 04:25:22 -0700 (PDT) MIME-Version: 1.0 References: <20220328220936.2724834-1-goldstein.w.n@gmail.com> <7b48ece6-392a-0850-c136-01ab751273ef@linaro.org> <72332228-093c-5186-789f-8616cfb93793@linaro.org> <0198ce75-8a8e-4355-eed1-f69dfb6f40f0@linaro.org> In-Reply-To: <0198ce75-8a8e-4355-eed1-f69dfb6f40f0@linaro.org> From: =?UTF-8?Q?Cristian_Rodr=C3=ADguez?= Date: Thu, 31 Mar 2022 08:25:10 -0300 Message-ID: Subject: Re: [PATCH v1 1/2] random-bits: Factor out entropy generating function To: Adhemerval Zanella Cc: "Jason A. Donenfeld" , Noah Goldstein , GNU C Library , Florian Weimer Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.9 required=5.0 tests=BAYES_00, HEADER_FROM_DIFFERENT_DOMAINS, KAM_DMARC_STATUS, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=no autolearn_force=no version=3.4.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 31 Mar 2022 11:25:25 -0000 On Thu, Mar 31, 2022 at 8:17 AM Adhemerval Zanella wrote: > There are still some discussion on which is the best strategy to handle > fork resets and if we need per thread buffers to optimize multithread > access. What about giving up on this and making the state small and use thread local storage for it ? I believe all this complexity to handle that cases is not worth it.