lkml.org 
[lkml]   [2020]   [Nov]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/3] mmu_notifier fs fs_reclaim lockdep annotations
Date
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

\
 
 \ /
  Last update: 2020-11-20 10:58    [W:0.127 / U:0.148 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site