From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S933398AbeEWPZT (ORCPT ); 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 X-Google-Smtp-Source: AB8JxZqniNqOgLYTh41zezBPJS5ro+hVoXY6nmYjfEaL6Z8B/VY1XR2AgU/kpWqzYnp/kW8/OqENJDkBML9ECWwhlDI= 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 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