Received: by 2002:ac0:a594:0:0:0:0:0 with SMTP id m20-v6csp981850imm; Wed, 23 May 2018 08:28:04 -0700 (PDT) X-Google-Smtp-Source: AB8JxZq0wbPOvKO+JUTP9qjs+6ETxCqvNZhachTwKVThWasAJ/HTgNriXm8hN9D9pSWqCoCbIAQV X-Received: by 2002:a65:6690:: with SMTP id b16-v6mr2026867pgw.218.1527089284249; Wed, 23 May 2018 08:28:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1527089284; cv=none; d=google.com; s=arc-20160816; b=Iq7GYPYRxQ4At+9ZZ9Tfl7BQM4+e543LdlB9WpVP0QJJKHZYvrWCkrBPHXB059C0c0 j4wa5/I1gayrEDg6X7wLyKu515OlB8tfdPHpe3snL20uOunuecLhce593ssv+ScXtysN OgOHI1vmg18BiWZ8xDtNeHM6rqlnaOo8edrsdwR3fsijTaMT8WRf6Sl+iGHfrFfBLtgU bF4VRbML8uzpqibDbSyjbhlzXHlWRcbLHkUxKJAjH0uyJHfTJwmkJcxM3+4PxwBvy8qX P/40xXy7O6ycu69w9sTu6U9Mn/mll6kR41+jRHZFjdjqQ+WsYH62JR2twedNGNk4VJXX jDcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=7Zv+HGckHOzdbFYi8emZQ5rGH4AiIer9621Hc80pQhI=; b=pIhlml8Wjv6uRzMnyjg4BH4pS7R5v+Y0RX5cM4K5t52mHOEOU8E0xXlB45MW98zOdl QWW8SINGWNun13dYjX5d+C9UJfN+W6sX2XodsWbG9PuSbbxo0AMMN88w7o2aNafM8E06 9ZIZNuvoHn6zrBXLTkM7HJEseuNDQ6DGTvKuF7tYQrvTBQDAOVLQApDtAh9RPX8MUlAT qUOdOGJbk8MGFGG8zyo9uwJ9gblr5EevgJnjG8UbTtOBWOR/Imzr8eyYhDqETyLDCK4F 889HumXHmh55xgAawBuVbPEIkKbQYI+qtS+TEnsP1MycnToj7zREd/3VoGGo9iZN93km MxSQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IQuhgNfv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id y34-v6si19334908plb.317.2018.05.23.08.27.34; Wed, 23 May 2018 08:28:04 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linux-foundation.org header.s=google header.b=IQuhgNfv; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933364AbeEWPZT (ORCPT + 99 others); Wed, 23 May 2018 11:25:19 -0400 Received: from mail-it0-f47.google.com ([209.85.214.47]:38211 "EHLO mail-it0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932534AbeEWPZS (ORCPT ); Wed, 23 May 2018 11:25:18 -0400 Received: by mail-it0-f47.google.com with SMTP id q4-v6so4823457ite.3 for ; Wed, 23 May 2018 08:25:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linux-foundation.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7Zv+HGckHOzdbFYi8emZQ5rGH4AiIer9621Hc80pQhI=; b=IQuhgNfvuGklN0q++gkMeAfNqepn94914HCcidfgHOG+iFkr0xVPZ/M+eVJe0zhcf1 XxAYIjDOv9niXvmHKF+8o+P2Qn09K0WQbhkta3bU2UAQFGCs2d/o8C3r7Jo0Ted4PuDQ piVkoK4v/GKVeQuDyWUEx9jCq/YaWvuv7/Zf8= 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=7Zv+HGckHOzdbFYi8emZQ5rGH4AiIer9621Hc80pQhI=; b=f2fsKZ+11onOpT47XeEdJzOul3Ci+IvjNX5f+KsT9OlIErqyrYPrG8yvfwk+X5hbUT 9vXo7Jdym2VPFfBiLum/qzfzcpBVb6lxDUBRGOHue3t522NDc664Sgl1bV/HFPRW3N6c 7TQDn6Jmp10vun8dDa8t18WS7CX7KLY8oxdU9eASanP8Z50ID0zWGz6cp1T45i2Xdq9W xuoaEwHgtwgMojG0LJvQNBDde8hWTXXvDlFS/tN4Q4JiwnCRmY3chXrLhD+izZGy3JAQ PmObXVCsbyZ0tuSxEN7mNKTchNqoWGFsJ2Esrivyp8y11rP0iz2Fla/AscPRoX1vychN 5Pzg== X-Gm-Message-State: ALKqPwdMJDEacEMAQtAkIzhyd+aDVpOGxlvZZNBl1yxbbXvpZc3eQmwb fco1fH5LntelfiToqMWQz4+C2Ngbp2FEvj/fEkw= X-Received: by 2002:a24:c408:: with SMTP id v8-v6mr5581328itf.100.1527089117646; Wed, 23 May 2018 08:25:17 -0700 (PDT) MIME-Version: 1.0 References: <0879f797135033e05e8e9166a3c85628@codeaurora.org> <20180523130547.GF26965@arm.com> In-Reply-To: <20180523130547.GF26965@arm.com> From: Linus Torvalds Date: Wed, 23 May 2018 08:25:06 -0700 Message-ID: Subject: Re: write_lock_irq(&tasklist_lock) To: Will Deacon Cc: psodagud@codeaurora.org, Kees Cook , Andy Lutomirski , Will Drewry , Andrew Morton , Rik van Riel , Thomas Gleixner , Ingo Molnar , Peter Zijlstra , Eric Biggers , Frederic Weisbecker , sherryy@android.com, Vegard Nossum , Christoph Lameter , Andrea Arcangeli , Sasha Levin , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, May 23, 2018 at 6:05 AM Will Deacon wrote: > Please use a newer kernel. We've addressed this in mainline by moving > arm64 over to the qrwlock implementation which (after some other changes) > guarantees forward progress for well-behaved readers and writers. Oh, I didn't even realize that this wasn't x86, and that there was still the very unfair rwlock issue on 4.14 on arm. Yeah, the queuing rwlocks shouldn't show the really pathological problems we used to have long ago. Linus