Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1362629imu; Tue, 11 Dec 2018 18:27:46 -0800 (PST) X-Google-Smtp-Source: AFSGD/UXgHmDAT1aSykjVGxxqnBuHq01OfgmGPL0nV1u1YsvsTRzmFVjzY48uaaXOjPYyFI0aip4 X-Received: by 2002:a63:e655:: with SMTP id p21mr16534465pgj.70.1544581666116; Tue, 11 Dec 2018 18:27:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1544581666; cv=none; d=google.com; s=arc-20160816; b=ULIuwpdwg1h0xiqBvpTZyaK6syJu92apgZ8egZB9fj1LUPIKz1EFAFRcJdbmgBEFgu 6XapI+FZLwHT7xk9IIksHRn+vF33fNPzot6tJVk3hKd9icKSUEaDQTfoXriltmqGbR61 /eHgSkpcBUXTlzxMcwQ+Hxfx9nwToK674u2Lkw35LKexaWIL8z2YF/jwecNMeehDRbzs 2+37rbnLJ+n+r7AP+f5HpBOOd6d55seeb8HssMNliQFjpJw5rpHkjU2RTHYK5I++8I+s +gZAStQTcnkmvhfeVL1kYGVc6QqKfTk22XZthmYRimUokaj6sLffazHR9twlLmKFte6k GXtQ== 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:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=gkM2LMK28Hlq7v76XW47vhgFUN/+gf7kIn3PtgabErI=; b=YdxykynVqe0DtflWdofTuZNK956Ukn7scvxzYbNnDff0fXSZpnYYZQKmpCIp+Mj2AB yjbpR92Xeka9AN3bGnA8paBJP/Ym1CmqNY5dOgSm5Zrdi6YryRcQT0FnUTvaz4QKPh3v MD/fOkG4R9VMTnV99n3TBg3oaPgX8OJiqitnJsTMPPQ1xUeK8DwLI7IGUAsKF7Ee24hf CYCZ9Z4o80buPhZVKRe/9u1QCXxbtMJTum5U+EpRSJh5xCn9zXwiG2YUiY0ANXnPAhYf iJb2F3ZtZfVku5Y1gTJdJ2uJK7QlUIedOPVg7vK5Tjs7OIIapMWvn3l5VF5kD6woXg4z jNFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@chromium.org header.s=google header.b=FmEAbqg4; 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=chromium.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n12si14341445pfg.155.2018.12.11.18.27.31; Tue, 11 Dec 2018 18:27:46 -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=@chromium.org header.s=google header.b=FmEAbqg4; 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=chromium.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726379AbeLLCZP (ORCPT + 99 others); Tue, 11 Dec 2018 21:25:15 -0500 Received: from mail-pl1-f195.google.com ([209.85.214.195]:38812 "EHLO mail-pl1-f195.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726368AbeLLCZO (ORCPT ); Tue, 11 Dec 2018 21:25:14 -0500 Received: by mail-pl1-f195.google.com with SMTP id e5so7843045plb.5 for ; Tue, 11 Dec 2018 18:25:14 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=chromium.org; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gkM2LMK28Hlq7v76XW47vhgFUN/+gf7kIn3PtgabErI=; b=FmEAbqg4KNQLQeByZDCvzsT6ut2o5AZsmYaQ9FMbXhhZGH+5l7P4fH2UShyF7o+AVV g2dRivHygzpSbg3F4U/TquhpUN9or81zP+5J41j9TETRGc5d846AF++qlbKy/WCHx9P3 bgM6M4dfr0XBq5KjCQOlyOdFa6fBFIDBTcatQ= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=gkM2LMK28Hlq7v76XW47vhgFUN/+gf7kIn3PtgabErI=; b=HkWOcnp38o4mn98afbnnS/U129/fzPsxZsXCe2cdLC6DXdXStu0vrZs+MWJUPwZBLh +n5rGfezJqh6t8WpRQDK68xvnJ5R7lOpQrEJAcBw24b/iiue8tzo+i86E8eZohYvGWAD FyDKn9kvNsnvFKBpNsyqk9CCqL0qHO58mA13PlMNowjfsm3l2+1QEvpKMV1CYSaN8EJK BnJNSVN/1Y+aehoPT2tYZgxAvhWifXVV8lveNXpzZxn/JP6pCfba0xWB4iwmiKe91iZG 1143vbm+7VD7OqfhCVFBuDqOX1MbARpD46aPPwka8h/2weR3W5BE7JAnveRfFD7lGhWf Uufw== X-Gm-Message-State: AA+aEWarrypW4SNIcLIXmlg+IZWJfIErzAAsnSxvH9T0M0lxcUUr9xbN WSCPQTSW30b0cUZwbwc9WaHB5w== X-Received: by 2002:a17:902:e085:: with SMTP id cb5mr17996885plb.24.1544581514151; Tue, 11 Dec 2018 18:25:14 -0800 (PST) Received: from exogeni.mtv.corp.google.com ([2620:15c:202:1:db8d:8e3f:2514:5db8]) by smtp.gmail.com with ESMTPSA id f6sm27334649pfg.188.2018.12.11.18.25.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 11 Dec 2018 18:25:13 -0800 (PST) From: Derek Basehore To: peterz@infradead.org Cc: mingo@redhat.com, will.deacon@arm.com, linux-kernel@vger.kernel.org, Derek Basehore Subject: RFC [PATCH 0/1] Fix lockdep false positive Date: Tue, 11 Dec 2018 18:25:05 -0800 Message-Id: <20181212022506.171936-1-dbasehore@chromium.org> X-Mailer: git-send-email 2.20.0.rc2.403.gdbc3b29805-goog MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org I'm not sure if I'm breaking any detection with this patch since I haven't looked at that lockdep code before. I do know that the unlock order for locks with a nest lock should not matter, though. Specifically, you should be able to unlock the nest lock followed by all the locks nested underneath it. Derek Basehore (1): locking/lockdep: Fix nest lock warning on unlock kernel/locking/lockdep.c | 27 +++++++++++++-------------- 1 file changed, 13 insertions(+), 14 deletions(-) -- 2.20.0.rc2.403.gdbc3b29805-goog