From patchwork Mon Feb 19 14:55:53 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Will Deacon X-Patchwork-Id: 128817 Delivered-To: patch@linaro.org Received: by 10.46.124.24 with SMTP id x24csp3594705ljc; Mon, 19 Feb 2018 06:56:20 -0800 (PST) X-Google-Smtp-Source: AH8x2272p7lZmtpaWY8jsXNJdIZyCQEJsgHcBTnNqYRx8Bo6T7JyiAZZCuSKQAv+0D7Htp4aWtuC X-Received: by 2002:a17:902:47:: with SMTP id 65-v6mr14204700pla.194.1519052180349; Mon, 19 Feb 2018 06:56:20 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519052180; cv=none; d=google.com; s=arc-20160816; b=PZXTgXbSPNACjClETUCuPZRDm3+Xnrhe5Mqs7MUxWQWAjU/nr8WN5oFhIvIbS2q9U+ uDcXsu4xhz8TU8aKkW2CVfqk0FNQ9QLe1mnTQ+OQIybHcdFuPt2vti2aEwYIadbEHnJ6 +u3+bmWI/QoL0oVtuTXVrVAD8VK+HJHzG9hZkoVZDAKqLieCsgurikyoeXqPKjMtrOmr JgXD01hPd7r5vBltEDnDfkVehrKfCv24CG+efMdP+Y0y++jKk6sIiqtNlsH/a78j+j44 9jdC+uXCfG+AqVM0VTKagrahm6n8bZf2fq1RoCij6ntRTrC09NStMnruKRLxpuXEX7d0 HcBQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from :arc-authentication-results; bh=yzLvAQ/QKqnvzWMasd6UWr1rY5JwWCYpOCkU4fJFTvg=; b=ecB36K6mb1SdBult6nnEB0/DN/7mWLoChiTBioqoAeDT0qdPgNn90jJmu/ZM26jBVf 6cW/RrXDedUpDJNbwTfTBhjeuQTItc4mTX07uicY8t1xlTozfUEVtQFgOOB0oDN6UpIC lTA3e6pOkF+Nym8rGnp2+ITQfGaoLip9JVddbJw8b7FewTdIdtQ4FslFuQaudaHC+dtH 4WOR2Rq1lIj1aaWAjDjtdQhOGRg/TGOMzu7HGN86cVxcM/Lu0RbXQ6dXzNnI6fKFeWBQ qRbiwgRs8hLwdjJ28md54usjUHfLbXosNSQRmr3X15GkssHT0kWDSbO5wnuFyKSzPJZv ZrTA== ARC-Authentication-Results: i=1; mx.google.com; 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 e13si6864977pgs.582.2018.02.19.06.56.19; Mon, 19 Feb 2018 06:56:20 -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; 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 S1753037AbeBSOzt (ORCPT + 28 others); Mon, 19 Feb 2018 09:55:49 -0500 Received: from usa-sjc-mx-foss1.foss.arm.com ([217.140.101.70]:60254 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753008AbeBSOzr (ORCPT ); Mon, 19 Feb 2018 09:55:47 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.72.51.249]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 799A2165D; Mon, 19 Feb 2018 06:55:47 -0800 (PST) Received: from edgewater-inn.cambridge.arm.com (usa-sjc-imap-foss1.foss.arm.com [10.72.51.249]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPA id 4A7BB3F318; Mon, 19 Feb 2018 06:55:47 -0800 (PST) Received: by edgewater-inn.cambridge.arm.com (Postfix, from userid 1000) id 397F21AE4FAF; Mon, 19 Feb 2018 14:55:56 +0000 (GMT) From: Will Deacon To: linux-fsdevel@vger.kernel.org Cc: peterz@infradead.org, viro@zeniv.linux.org.uk, willy@infradead.org, linux-kernel@vger.kernel.org, Will Deacon Subject: [PATCH v2 0/2] A couple of i_dir_seq fixes for fs/dcache.c Date: Mon, 19 Feb 2018 14:55:53 +0000 Message-Id: <1519052155-6361-1-git-send-email-will.deacon@arm.com> X-Mailer: git-send-email 2.1.4 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, This is version two of the patch I previously posted here: http://lkml.kernel.org/r/1518526731-26546-1-git-send-email-will.deacon@arm.com Changes since v1: * Added READ_ONCE to i_dir_seq access * Added tags Cheers, Will --->8 Will Deacon (2): fs: dcache: Avoid livelock between d_alloc_parallel and __d_add fs: dcache: Use READ_ONCE when accessing i_dir_seq fs/dcache.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) -- 2.1.4