linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/4] lockdep/crossrelease: Apply crossrelease to page locks
@ 2017-12-04  5:16 Byungchul Park
  2017-12-04  5:16 ` [PATCH v2 1/4] lockdep: Apply crossrelease to PG_locked locks Byungchul Park
                   ` (4 more replies)
  0 siblings, 5 replies; 10+ messages in thread
From: Byungchul Park @ 2017-12-04  5:16 UTC (permalink / raw)
  To: peterz, mingo, akpm
  Cc: tglx, linux-kernel, linux-mm, linux-block, kernel-team, jack,
	jlayton, viro, hannes, npiggin, rgoldwyn, vbabka, mhocko,
	pombredanne, vinmenon, gregkh

For now, wait_for_completion() / complete() works with lockdep, add
lock_page() / unlock_page() and its family to lockdep support.

Changes from v1
 - Move lockdep_map_cross outside of page_ext to make it flexible
 - Prevent allocating lockdep_map per page by default
 - Add a boot parameter allowing the allocation for debugging

Byungchul Park (4):
  lockdep: Apply crossrelease to PG_locked locks
  lockdep: Apply lock_acquire(release) on __Set(__Clear)PageLocked
  lockdep: Move data of CONFIG_LOCKDEP_PAGELOCK from page to page_ext
  lockdep: Add a boot parameter enabling to track page locks using
    lockdep and disable it by default

 Documentation/admin-guide/kernel-parameters.txt |   7 ++
 include/linux/mm_types.h                        |   4 +
 include/linux/page-flags.h                      |  43 +++++++-
 include/linux/pagemap.h                         | 125 ++++++++++++++++++++++--
 lib/Kconfig.debug                               |  11 +++
 mm/filemap.c                                    | 114 ++++++++++++++++++++-
 mm/page_ext.c                                   |   4 +
 7 files changed, 299 insertions(+), 9 deletions(-)

-- 
1.9.1

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2017-12-05  8:58 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-12-04  5:16 [PATCH v2 0/4] lockdep/crossrelease: Apply crossrelease to page locks Byungchul Park
2017-12-04  5:16 ` [PATCH v2 1/4] lockdep: Apply crossrelease to PG_locked locks Byungchul Park
2017-12-04  5:16 ` [PATCH v2 2/4] lockdep: Apply lock_acquire(release) on __Set(__Clear)PageLocked Byungchul Park
2017-12-04  5:16 ` [PATCH v2 3/4] lockdep: Move data of CONFIG_LOCKDEP_PAGELOCK from page to page_ext Byungchul Park
2017-12-04  5:16 ` [PATCH v2 4/4] lockdep: Add a boot parameter enabling to track page locks using lockdep and disable it by default Byungchul Park
2017-12-05  5:30 ` [PATCH v2 0/4] lockdep/crossrelease: Apply crossrelease to page locks Matthew Wilcox
2017-12-05  5:46   ` Byungchul Park
2017-12-05  6:19     ` Byungchul Park
2017-12-05  7:45       ` Matthew Wilcox
2017-12-05  8:58         ` Michal Hocko

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).