Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp1265401ybl; Fri, 6 Dec 2019 14:16:17 -0800 (PST) X-Google-Smtp-Source: APXvYqxkw21Jr9c3yH+RpCDAGUVd+d6gr1rrq101Lq2+kwDB5JTrp1khkgX/VMcI/KqL+66coe+F X-Received: by 2002:aca:b708:: with SMTP id h8mr15156887oif.126.1575670577300; Fri, 06 Dec 2019 14:16:17 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575670577; cv=none; d=google.com; s=arc-20160816; b=WYCAG40+509saDAlhjBnqfweMOpA9EMILBHn0vwtXHEYuxO+XmAze98kw685NMmMV1 n2Jr9JIU6IENU9GJUcLCEWCc/VW4r3+kjehxUaQjInOv1tnsfLeONBLTpAdh9Tb6gpW2 KFTTglC2BvYitz8hQklsxVkoCZxiAO23858EXGAyVn6yC2nx1hx17hxkKGBOgc/yGeUy mxdCxjL1iVEZIkLXMa0o7t9YBzHeWi8DHT/p5y3TFdBqNGvu+BPCCpWv2X48sECumckb 6Fe/rzn7gXqqlyhHaR7OambtiE0Z0f5JuGsjZDighG49Cw+UUFapyO24EX5MDZrIP6yY n9Kg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:message-id:date :content-id:mime-version:subject:cc:to:references:in-reply-to:from :organization:dkim-signature; bh=g9gOFA8Uzj5LOu2YACenivVW4TbKyjqFDtKfEMeTYTE=; b=YABez7eee6+Tk98ymdgD/1hhgihwVeI7726PV1UMNBF9d02duRxQJaq/7aZmiYsD4W cy7nawv3KjODBRvVxNfkah8baXqU0CYEWf0s8W7AjZf5vxdS0R4EQ/sj5ONWgBUdgCn8 RBfzsZqP/K6EyAGIfR8nJ2OdEhi1/5ZTxwVkiZAFLF/krEpuiuK0S0rvG21ZyYba5X8g mxmocvjTL0hDdLetOh7NuJmS5+qAtxhEC8VC0bK8NDqubQtYryV3dcrUwlDhGJcMtpRr eWJKmxwCZyYQqR51KoKQ832gArEYF7QBGND7nTpY79Z2GWA1YbmzW66sLhwbfo00v9C7 X01w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=AqbnNNeU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id t2si7538641oth.32.2019.12.06.14.16.06; Fri, 06 Dec 2019 14:16:17 -0800 (PST) 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=@redhat.com header.s=mimecast20190719 header.b=AqbnNNeU; 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; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726619AbfLFWPl (ORCPT + 99 others); Fri, 6 Dec 2019 17:15:41 -0500 Received: from us-smtp-delivery-1.mimecast.com ([205.139.110.120]:20282 "EHLO us-smtp-1.mimecast.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726506AbfLFWPk (ORCPT ); Fri, 6 Dec 2019 17:15:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1575670539; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=g9gOFA8Uzj5LOu2YACenivVW4TbKyjqFDtKfEMeTYTE=; b=AqbnNNeUxbQdifHBryi8cPZOIvWW31yuoy+7aQp89SnAb/eFavxkk3s69XsIw6MyYT8+jm TqwOKKiGl7bNCpQmBBsqaUrdoXGO1gA3rSIbkopwFpqIi5hDfHb4gcuD6Bq5SbhOHdB1F2 nEYkE+GNiobAaOQBkEdNfT3XiL3ztb8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-68-k99QZ4kvNTaM6BA1lmAp5g-1; Fri, 06 Dec 2019 17:15:33 -0500 Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.phx2.redhat.com [10.5.11.22]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 2937A800EB5; Fri, 6 Dec 2019 22:15:31 +0000 (UTC) Received: from warthog.procyon.org.uk (ovpn-120-250.rdu2.redhat.com [10.10.120.250]) by smtp.corp.redhat.com (Postfix) with ESMTP id D7E221001902; Fri, 6 Dec 2019 22:15:27 +0000 (UTC) Organization: Red Hat UK Ltd. Registered Address: Red Hat UK Ltd, Amberley Place, 107-111 Peascod Street, Windsor, Berkshire, SI4 1TE, United Kingdom. Registered in England and Wales under Company Registration No. 3798903 From: David Howells In-Reply-To: <20191206214725.GA2108@latitude> References: <20191206214725.GA2108@latitude> <157186182463.3995.13922458878706311997.stgit@warthog.procyon.org.uk> <157186186167.3995.7568100174393739543.stgit@warthog.procyon.org.uk> To: Johannes Hirte Cc: dhowells@redhat.com, torvalds@linux-foundation.org, Rasmus Villemoes , Greg Kroah-Hartman , Peter Zijlstra , nicolas.dichtel@6wind.com, raven@themaw.net, Christian Brauner , keyrings@vger.kernel.org, linux-usb@vger.kernel.org, linux-block@vger.kernel.org, linux-security-module@vger.kernel.org, linux-fsdevel@vger.kernel.org, linux-api@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [RFC PATCH 04/10] pipe: Use head and tail pointers for the ring, not cursor and length [ver #2] MIME-Version: 1.0 Content-ID: <21299.1575670527.1@warthog.procyon.org.uk> Date: Fri, 06 Dec 2019 22:15:27 +0000 Message-ID: <21300.1575670527@warthog.procyon.org.uk> X-Scanned-By: MIMEDefang 2.84 on 10.5.11.22 X-MC-Unique: k99QZ4kvNTaM6BA1lmAp5g-1 X-Mimecast-Spam-Score: 0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Johannes Hirte wrote: > > Convert pipes to use head and tail pointers for the buffer ring rather = than > > pointer and length as the latter requires two atomic ops to update (or = a > > combined op) whereas the former only requires one. >=20 > This change breaks firefox on my system. I've noticed that some pages > doesn't load correctly anymore (e.g. facebook, spiegel.de). The pages > start loading and than stop. Looks like firefox is waiting for some > dynamic loading content. I've bisected to this commit, but can't revert > because of conflicts. There are a number of patches committed to upstream in the last couple of d= ays that might fix your problem. See: =09https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/log/ and look for: =09pipe: Fix iteration end check in fuse_dev_splice_write() =09pipe: fix incorrect caching of pipe state over pipe_wait() =09pipe: Fix missing mask update after pipe_wait() =09pipe: Remove assertion from pipe_poll() David