From: Daniel Vetter <daniel.vetter@ffwll.ch>
To: LKML <linux-kernel@vger.kernel.org>
Cc: Linux MM <linux-mm@kvack.org>,
DRI Development <dri-devel@lists.freedesktop.org>,
Daniel Vetter <daniel.vetter@ffwll.ch>
Subject: [PATCH 0/5] mmu notifer debug annotations
Date: Mon, 26 Aug 2019 22:14:20 +0200 [thread overview]
Message-ID: <20190826201425.17547-1-daniel.vetter@ffwll.ch> (raw)
Hi all,
Next round. Changes:
- I kept the two lockdep annotations patches since when I rebased this
before retesting linux-next didn't yet have them. Otherwise unchanged
except for a trivial conflict.
- Ack from Peter Z. on the kernel.h patch.
- Added annotations for non_block to invalidate_range_end. I can't test
that readily since i915 doesn't use it.
- Added might_sleep annotations to also make sure the mm side keeps up
it's side of the contract here around what's allowed and what's not.
Comments, feedback, review as usual very much appreciated.
Cheers, Daniel
Daniel Vetter (5):
mm, notifier: Add a lockdep map for invalidate_range_start/end
mm, notifier: Prime lockdep
kernel.h: Add non_block_start/end()
mm, notifier: Catch sleeping/blocking for !blockable
mm, notifier: annotate with might_sleep()
include/linux/kernel.h | 25 ++++++++++++++++++++++++-
include/linux/mmu_notifier.h | 13 +++++++++++++
include/linux/sched.h | 4 ++++
kernel/sched/core.c | 19 ++++++++++++++-----
mm/mmu_notifier.c | 31 +++++++++++++++++++++++++++++--
5 files changed, 84 insertions(+), 8 deletions(-)
--
2.23.0
next reply other threads:[~2019-08-26 20:14 UTC|newest]
Thread overview: 15+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-08-26 20:14 Daniel Vetter [this message]
2019-08-26 20:14 ` [PATCH 1/5] mm, notifier: Add a lockdep map for invalidate_range_start/end Daniel Vetter
2019-08-26 20:14 ` [PATCH 2/5] mm, notifier: Prime lockdep Daniel Vetter
2019-08-26 20:14 ` [PATCH 3/5] kernel.h: Add non_block_start/end() Daniel Vetter
2019-08-27 22:50 ` Jason Gunthorpe
2019-08-28 18:33 ` Daniel Vetter
2019-08-28 18:43 ` Jason Gunthorpe
2019-08-28 18:56 ` Daniel Vetter
2019-09-03 7:28 ` Daniel Vetter
2019-09-03 7:36 ` Jason Gunthorpe
2019-08-28 11:43 ` Michal Hocko
2019-08-26 20:14 ` [PATCH 4/5] mm, notifier: Catch sleeping/blocking for !blockable Daniel Vetter
2019-08-26 20:14 ` [PATCH 5/5] mm, notifier: annotate with might_sleep() Daniel Vetter
2019-08-27 23:04 ` [PATCH 0/5] mmu notifer debug annotations Jason Gunthorpe
2019-09-05 14:49 ` Jason Gunthorpe
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190826201425.17547-1-daniel.vetter@ffwll.ch \
--to=daniel.vetter@ffwll.ch \
--cc=dri-devel@lists.freedesktop.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox