various lockdep patches
Get series with b4
b4 am [email protected]Versions newest first
- v1 Latest12 patches 8 repliesIn review
Patches in v1 No applies recorded yet
| # | Subject and files | Size | Replies | Applied |
|---|---|---|---|---|
| 1/12 | lockdep: syscall exit checkinclude/ kernel/ | +18 | 3 replies | |
| 2/12 | lockdep: i386: connect the sysexit hookarch/ include/ | +16 | 0 replies | |
| 3/12 | lockdep: x86_64: connect the sysexit hookarch/ arch/ include/ | +16 | 0 replies | |
| 4/12 | lockdep: annotate journal_start()fs/ include/ | +14 | 0 replies | |
| 5/12 | mm: trylock_pagefs/ fs/ fs/ +14 more | +27 | 3 replies | |
| 6/12 | mm: remove raw SetPageLocked() usagemm/ mm/ | +2 | 1 reply | |
| 7/12 | lockdep: page lock hooksinclude/ mm/ | +38 | 0 replies | |
| 8/12 | lockdep: increase MAX_LOCK_DEPTHinclude/ | +1 | 0 replies | |
| 9/12 | lockdep: add a page lock class per filesystem typefs/ include/ | +6 | 0 replies | |
| 10/12 | lockdep: lock_page: handle IO-completionsfs/ fs/ fs/ +2 more | +28 | 0 replies | |
| 11/12 | mm: set_page_mapping()include/ mm/ mm/ | +14 | 0 replies | |
| 12/12 | lockdep: enable lock_page lockdep annotationinclude/ include/ mm/ | +52 | 0 replies |
Reviews trailers per patch
None of the 12 patches has a Reviewed-by or Acked-by of their own; the series has one for all of them.
| Patch | Martin Schwidefsky |
|---|---|
| Series | R-b |
| 1/12 | |
| 2/12 | |
| 3/12 | |
| 4/12 | |
| 5/12 | |
| 6/12 | |
| 7/12 | |
| 8/12 | |
| 9/12 | |
| 10/12 | |
| 11/12 | |
| 12/12 |
Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.
Cover letter [PATCH 00/12] various lockdep patches
The first 3 patches provide a new lockdep check, it verifies we don't hold any locks when returning to userspace.
lockdep-sys_exit.patch lockdep-i386-sys_exit.patch lockdep-x86_64-sys_exit.patch
Could the various arch maintainers that have support for lockdep help out with placing this hook?
A journal_start annotation:
jbd-lock.patch
Up until this point stuff should be safe to merge (assuming there are no objections and bugs.. :-)
The rest of the series annotates lock_page():
rework lock_page() API:
trylock_page.patch
lock_page.patch
lockdep-page_lock-hooks.patch
actuall lockdep annotation:
lockdep-depth.patch
lockdep-fs-page.patch
lockdep-page-async.patch
set_page_mapping.patch
lockdep-lock_page.patch
Part of that is re-working the lock_page() API a bit. It introduces trylock_page(), and removes all the raw *PageLock() usage.
I've compile and boot tested this series on x86_64 (with and without lockdep). And it completes an LTP run with lockdep enabled.
Andrew, can we start by pusing the lock_page() API rework into -mm?
[ this series is against -linus, but if you're willing I'll do some
patches against -mm ]