From f16886a08f6855f0f72a46ca21d8a9025905f650 Mon Sep 17 00:00:00 2001 From: Luke Kenneth Casson Leighton Date: Sat, 9 May 2020 08:51:48 +0100 Subject: [PATCH] Re: [libre-riscv-dev] spinlocks considered harmful --- bf/40404e7c4dfbfe32808c74a37044b8f0b95a3e | 82 +++++++++++++++++++++++ 1 file changed, 82 insertions(+) create mode 100644 bf/40404e7c4dfbfe32808c74a37044b8f0b95a3e diff --git a/bf/40404e7c4dfbfe32808c74a37044b8f0b95a3e b/bf/40404e7c4dfbfe32808c74a37044b8f0b95a3e new file mode 100644 index 0000000..b41cf1c --- /dev/null +++ b/bf/40404e7c4dfbfe32808c74a37044b8f0b95a3e @@ -0,0 +1,82 @@ +Return-path: +Envelope-to: publicinbox@libre-riscv.org +Delivery-date: Sat, 09 May 2020 08:52:25 +0100 +Received: from localhost ([::1] helo=libre-riscv.org) + by libre-soc.org with esmtp (Exim 4.89) + (envelope-from ) + id 1jXKHY-0004xK-0b; Sat, 09 May 2020 08:52:24 +0100 +Received: from lkcl.net ([217.147.94.29]) + by libre-soc.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.89) (envelope-from ) id 1jXKHW-0004xE-0n + for libre-riscv-dev@lists.libre-riscv.org; Sat, 09 May 2020 08:52:22 +0100 +DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lkcl.net; + s=201607131; + h=Content-Type:To:Subject:Message-ID:Date:From:In-Reply-To:References:MIME-Version; + bh=B7rpHs9ONfYiSOTN9Jot746Xb9ye3MBP7WTEnaqbmmw=; + b=TPwkUCXRf/mb581OVMdxZ1fCJVTs5sa1yv/9SSkdb/hIBbpqKyFotl2YJ6Equ5f5PU5q+yMgPkCNfyNlVnuiZS1ahHjrPc1NWKFggeuuiKb/oUNhCfEklCK85Zxf44Vz90XJRT/XV6AeV+YgynsWAHaif911XnDyKR7Sr6yrvR0=; +Received: from mail-lf1-f47.google.com ([209.85.167.47]) + by lkcl.net with esmtpsa (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) + (Exim 4.84_2) (envelope-from ) id 1jXKHV-0007dV-LJ + for libre-riscv-dev@lists.libre-riscv.org; Sat, 09 May 2020 07:52:21 +0000 +Received: by mail-lf1-f47.google.com with SMTP id z22so3274794lfd.0 + for ; + Sat, 09 May 2020 00:52:06 -0700 (PDT) +X-Gm-Message-State: AOAM530axRGw/XCKbzhKxKGtbv/QfqJjny29Usbe9Sxi7IZUzY8GvaAC + I6aBzIO62K/Fush6oebwxwZF8jYTnylh4QBfn9g= +X-Google-Smtp-Source: ABdhPJzL3AKnnJWBJQ0EGekLSfLMIDbGgQ/sroVqnTHBOZRsASC5L/08RNuA0KaFTPSvZXQy1BqylFx8RrJydLxcGZw= +X-Received: by 2002:a19:4311:: with SMTP id q17mr4282052lfa.67.1589010720563; + Sat, 09 May 2020 00:52:00 -0700 (PDT) +MIME-Version: 1.0 +References: +In-Reply-To: +From: Luke Kenneth Casson Leighton +Date: Sat, 9 May 2020 08:51:48 +0100 +X-Gmail-Original-Message-ID: +Message-ID: +To: Libre-RISCV General Development +Subject: Re: [libre-riscv-dev] spinlocks considered harmful +X-BeenThere: libre-riscv-dev@lists.libre-riscv.org +X-Mailman-Version: 2.1.23 +Precedence: list +List-Id: Libre-RISCV General Development + +List-Unsubscribe: , + +List-Archive: +List-Post: +List-Help: +List-Subscribe: , + +Reply-To: Libre-RISCV General Development + +Content-Type: text/plain; charset="utf-8" +Content-Transfer-Encoding: base64 +Errors-To: libre-riscv-dev-bounces@lists.libre-riscv.org +Sender: "libre-riscv-dev" + +T24gU2F0LCBNYXkgOSwgMjAyMCBhdCAxMjoyMCBBTSBKYWNvYiBMaWZzaGF5IDxwcm9ncmFtbWVy +amFrZUBnbWFpbC5jb20+IHdyb3RlOgoKPiBJIGVuZGVkIHVwIHJlcG9ydGluZyBhIGJ1ZyB0byBQ +eU8zIHRvIG5vdCB1c2Ugc3BpbmxvY2tzLCB0aGUg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