From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-13.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 33F3EC6379F for ; Fri, 20 Nov 2020 09:56:15 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 9ED6C2242A for ; Fri, 20 Nov 2020 09:56:14 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="cIig+mZb" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727479AbgKTJ4O (ORCPT ); Fri, 20 Nov 2020 04:56:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:46068 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727043AbgKTJ4M (ORCPT ); Fri, 20 Nov 2020 04:56:12 -0500 Received: from mail-wm1-x343.google.com (mail-wm1-x343.google.com [IPv6:2a00:1450:4864:20::343]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6C9A7C0613CF for ; Fri, 20 Nov 2020 01:56:11 -0800 (PST) Received: by mail-wm1-x343.google.com with SMTP id x13so2549112wmj.1 for ; Fri, 20 Nov 2020 01:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=65HrmNqKftUnE1asqIayt2cnQblLlYt2XJU4abNkW2c=; b=cIig+mZbWoziis9QAEDrcbFB/GOPYHBGkq8UJPfrMuHlRHA1uJlZUg8f7WhD8KenMR 81/gLvFGeeEBXJjDhsMMENeHrnWQTkCblsMZLAlIKI8XYReN/YfTx4TFLK4x62j8vMcv NMAQZYA3LmtaSpp4bf8bDO41FIZ2kz913tElM= 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=65HrmNqKftUnE1asqIayt2cnQblLlYt2XJU4abNkW2c=; b=qJpaiYKVytUDrmBnla3mFCMkchcuTyLNgIEjY+l48qdKSV0CBtZVN4WiQduHT6IqF5 jF0dE0MGd0oNJ4IhTNzktSW5owldGDSjFsze49e4/vh0CaOFDKsM4QnnB7Lpa0B8Hycc RvmEUTt25VLLAkdy/QOA9dC65SIv79hVYKFUaK36nTr3cVS4fFdFM3gURAffbBGx6Zy8 ThwYHkmD1XUZxbAqF5Zt7JvQsdvdyZGocE+5a48PLwi+6+RHjJojrA8ErOGVWmJb9rS0 mP/7hCBPHeh75V/O7Ld1PU9NfMXDqJ3R4aAL65A/e3AKJdkqAfMnDbCCkY60UHc7qbzg BjHQ== X-Gm-Message-State: AOAM533GW7v4VCEs+MIeDVGIp+aaxH43GtOINLaLcfl/UdwqpWLeg8HR N8nbAzo2aaIInjcpZyBOZbLWew== X-Google-Smtp-Source: ABdhPJyxRsNqKBpDLy2jcbxhd6SI4PAi8++rl2ervW+Oj/NwJ6Q8RtMk6ldX7hjCBVGGsevXbc8h9w== X-Received: by 2002:a7b:c772:: with SMTP id x18mr9460582wmk.185.1605866170156; Fri, 20 Nov 2020 01:56:10 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id t9sm4500208wrr.49.2020.11.20.01.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 01:56:09 -0800 (PST) From: Daniel Vetter To: DRI Development Cc: Intel Graphics Development , linux-mm@kvack.org, linux-xfs@vger.kernel.org, linux-fsdevel@vger.kernel.org, LKML , Daniel Vetter Subject: [PATCH 0/3] mmu_notifier fs fs_reclaim lockdep annotations Date: Fri, 20 Nov 2020 10:54:41 +0100 Message-Id: <20201120095445.1195585-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi all, I've finally gotten around to polish of my lockdep anntotation patches from a while ago: https://lore.kernel.org/dri-devel/20200610194101.1668038-1-daniel.vetter@ffwll.ch/ That patch has been in -mm for a few days already, but it immediately hit some issues with xfs. Changes since v2: - Now hopefully the bug that bombed xfs fixed. - With unit-tests (that's the part I really wanted and never got to) - might_alloc() helper thrown in for good. The unit test stuff was the major drag until I figured out how to make this very easy with the locking selftests. Comments, review, testing all very much welcome. Cheers, Daniel Daniel Vetter (3): mm: Track mmu notifiers in fs_reclaim_acquire/release mm: Extract might_alloc() debug check locking/selftests: Add testcases for fs_reclaim include/linux/sched/mm.h | 16 ++++++++++++++ lib/locking-selftest.c | 47 ++++++++++++++++++++++++++++++++++++++++ mm/mmu_notifier.c | 7 ------ mm/page_alloc.c | 31 ++++++++++++++++---------- mm/slab.h | 5 +---- mm/slob.c | 6 ++--- 6 files changed, 86 insertions(+), 26 deletions(-) -- 2.29.2 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=unavailable autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id DC703C5519F for ; Fri, 20 Nov 2020 09:56:15 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 6B91D223B0 for ; Fri, 20 Nov 2020 09:56:15 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="cIig+mZb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 6B91D223B0 Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=dri-devel-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id 3A4EF6E89D; Fri, 20 Nov 2020 09:56:13 +0000 (UTC) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id B89BF6E890 for ; Fri, 20 Nov 2020 09:56:11 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id a186so6977041wme.1 for ; Fri, 20 Nov 2020 01:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=65HrmNqKftUnE1asqIayt2cnQblLlYt2XJU4abNkW2c=; b=cIig+mZbWoziis9QAEDrcbFB/GOPYHBGkq8UJPfrMuHlRHA1uJlZUg8f7WhD8KenMR 81/gLvFGeeEBXJjDhsMMENeHrnWQTkCblsMZLAlIKI8XYReN/YfTx4TFLK4x62j8vMcv NMAQZYA3LmtaSpp4bf8bDO41FIZ2kz913tElM= 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=65HrmNqKftUnE1asqIayt2cnQblLlYt2XJU4abNkW2c=; b=Fg9FA1vGdhCx9lG2zPo4CqYRCBJ49dvjLkkNAMVC5OHE4SXzRD3tzotAM4BTWWD0l8 6E+qgWxRD6uWSVm2Y4vm8nfCBY5xKitNZL4nBMWo17CcXdtqIysMu41SpmjD2BiI44Q/ /odq2VeByAXnBgaBYZ39VJYrhxYqT5E5tzkEZQSeHNYrktatEdftZOQFL7OIwjSdvqLO /LwZD25RLSW2PzBhUv5o0xtWmQaTWiVv7OY8dIJHF3/QtLjOkeSYdtJlEfQtknbFIMlL 2KLqP0FgHTyvKoWEsGUqXH3hqpyqSRlgPYxhXjh47JgA+4vogujSxSWryvNtSfe0KkBs /vYw== X-Gm-Message-State: AOAM530Nu7Xzmu7rkDIcMljSRmvkq8A7Yrik3KCphUgk2pSi+qltZjl/ 1cc/iZWziFVEu5wufh6dgsdYna6y+VPFhw== X-Google-Smtp-Source: ABdhPJyxRsNqKBpDLy2jcbxhd6SI4PAi8++rl2ervW+Oj/NwJ6Q8RtMk6ldX7hjCBVGGsevXbc8h9w== X-Received: by 2002:a7b:c772:: with SMTP id x18mr9460582wmk.185.1605866170156; Fri, 20 Nov 2020 01:56:10 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id t9sm4500208wrr.49.2020.11.20.01.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 01:56:09 -0800 (PST) From: Daniel Vetter To: DRI Development Subject: [PATCH 0/3] mmu_notifier fs fs_reclaim lockdep annotations Date: Fri, 20 Nov 2020 10:54:41 +0100 Message-Id: <20201120095445.1195585-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 X-BeenThere: dri-devel@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Direct Rendering Infrastructure - Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Intel Graphics Development , LKML , linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: dri-devel-bounces@lists.freedesktop.org Sender: "dri-devel" Hi all, I've finally gotten around to polish of my lockdep anntotation patches from a while ago: https://lore.kernel.org/dri-devel/20200610194101.1668038-1-daniel.vetter@ffwll.ch/ That patch has been in -mm for a few days already, but it immediately hit some issues with xfs. Changes since v2: - Now hopefully the bug that bombed xfs fixed. - With unit-tests (that's the part I really wanted and never got to) - might_alloc() helper thrown in for good. The unit test stuff was the major drag until I figured out how to make this very easy with the locking selftests. Comments, review, testing all very much welcome. Cheers, Daniel Daniel Vetter (3): mm: Track mmu notifiers in fs_reclaim_acquire/release mm: Extract might_alloc() debug check locking/selftests: Add testcases for fs_reclaim include/linux/sched/mm.h | 16 ++++++++++++++ lib/locking-selftest.c | 47 ++++++++++++++++++++++++++++++++++++++++ mm/mmu_notifier.c | 7 ------ mm/page_alloc.c | 31 ++++++++++++++++---------- mm/slab.h | 5 +---- mm/slob.c | 6 ++--- 6 files changed, 86 insertions(+), 26 deletions(-) -- 2.29.2 _______________________________________________ dri-devel mailing list dri-devel@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/dri-devel From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-11.6 required=3.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0A65C63798 for ; Fri, 20 Nov 2020 09:56:14 +0000 (UTC) Received: from gabe.freedesktop.org (gabe.freedesktop.org [131.252.210.177]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B1CD5222BA for ; Fri, 20 Nov 2020 09:56:13 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (1024-bit key) header.d=ffwll.ch header.i=@ffwll.ch header.b="cIig+mZb" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org B1CD5222BA Authentication-Results: mail.kernel.org; dmarc=none (p=none dis=none) header.from=ffwll.ch Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=intel-gfx-bounces@lists.freedesktop.org Received: from gabe.freedesktop.org (localhost [127.0.0.1]) by gabe.freedesktop.org (Postfix) with ESMTP id D985F6E89B; Fri, 20 Nov 2020 09:56:12 +0000 (UTC) Received: from mail-wm1-x341.google.com (mail-wm1-x341.google.com [IPv6:2a00:1450:4864:20::341]) by gabe.freedesktop.org (Postfix) with ESMTPS id 780A56E890 for ; Fri, 20 Nov 2020 09:56:11 +0000 (UTC) Received: by mail-wm1-x341.google.com with SMTP id 10so9770663wml.2 for ; Fri, 20 Nov 2020 01:56:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ffwll.ch; s=google; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=65HrmNqKftUnE1asqIayt2cnQblLlYt2XJU4abNkW2c=; b=cIig+mZbWoziis9QAEDrcbFB/GOPYHBGkq8UJPfrMuHlRHA1uJlZUg8f7WhD8KenMR 81/gLvFGeeEBXJjDhsMMENeHrnWQTkCblsMZLAlIKI8XYReN/YfTx4TFLK4x62j8vMcv NMAQZYA3LmtaSpp4bf8bDO41FIZ2kz913tElM= 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=65HrmNqKftUnE1asqIayt2cnQblLlYt2XJU4abNkW2c=; b=aFCQxKJVg/kFpjPWHXav3HXYEhvu60JsNnlN+DJ5pM+88aaefYo+CO4lkdZ/wdd9et bh2ohzHQhJ7frc/veeGuXBDPSdpHPuJN1rg9Yxn9HPCTgTcGhBVm8Q8tz+I1k54f7+HG X4gr4AhYj+RE/womZdGzFTu2uKGDxdcqRKQhL7xR7ahshLLCFqfCIt4i6fkGwo9/8Z1N oAJD0wHBKj9LnH7DVfrd54Pp/OnZggP7ZgHsWSGo4dkqUiKfDdxaqWgdPD+HnNJQNLGM pOZmCIvtgUQZLQ01OHBKvD/LbWZ1xoqYNW4PK6qPyLRyfAJqkyVjTz/OPg4PkCgFpDik K7JQ== X-Gm-Message-State: AOAM530BpShEawh2owt7avwR5SsOgh+uLf+Cm9BTp6EunD4FaOzh/4SQ z0RaTHqs/BSjLREH5gXdDFV8XiIhXEId4w== X-Google-Smtp-Source: ABdhPJyxRsNqKBpDLy2jcbxhd6SI4PAi8++rl2ervW+Oj/NwJ6Q8RtMk6ldX7hjCBVGGsevXbc8h9w== X-Received: by 2002:a7b:c772:: with SMTP id x18mr9460582wmk.185.1605866170156; Fri, 20 Nov 2020 01:56:10 -0800 (PST) Received: from phenom.ffwll.local ([2a02:168:57f4:0:efd0:b9e5:5ae6:c2fa]) by smtp.gmail.com with ESMTPSA id t9sm4500208wrr.49.2020.11.20.01.56.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 01:56:09 -0800 (PST) From: Daniel Vetter To: DRI Development Date: Fri, 20 Nov 2020 10:54:41 +0100 Message-Id: <20201120095445.1195585-1-daniel.vetter@ffwll.ch> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Subject: [Intel-gfx] [PATCH 0/3] mmu_notifier fs fs_reclaim lockdep annotations X-BeenThere: intel-gfx@lists.freedesktop.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Intel graphics driver community testing & development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Daniel Vetter , Intel Graphics Development , LKML , linux-xfs@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: intel-gfx-bounces@lists.freedesktop.org Sender: "Intel-gfx" Hi all, I've finally gotten around to polish of my lockdep anntotation patches from a while ago: https://lore.kernel.org/dri-devel/20200610194101.1668038-1-daniel.vetter@ffwll.ch/ That patch has been in -mm for a few days already, but it immediately hit some issues with xfs. Changes since v2: - Now hopefully the bug that bombed xfs fixed. - With unit-tests (that's the part I really wanted and never got to) - might_alloc() helper thrown in for good. The unit test stuff was the major drag until I figured out how to make this very easy with the locking selftests. Comments, review, testing all very much welcome. Cheers, Daniel Daniel Vetter (3): mm: Track mmu notifiers in fs_reclaim_acquire/release mm: Extract might_alloc() debug check locking/selftests: Add testcases for fs_reclaim include/linux/sched/mm.h | 16 ++++++++++++++ lib/locking-selftest.c | 47 ++++++++++++++++++++++++++++++++++++++++ mm/mmu_notifier.c | 7 ------ mm/page_alloc.c | 31 ++++++++++++++++---------- mm/slab.h | 5 +---- mm/slob.c | 6 ++--- 6 files changed, 86 insertions(+), 26 deletions(-) -- 2.29.2 _______________________________________________ Intel-gfx mailing list Intel-gfx@lists.freedesktop.org https://lists.freedesktop.org/mailman/listinfo/intel-gfx