]> git.kernelconcepts.de Git - karo-tx-linux.git/commitdiff
Merge branch 'akpm' (patches from Andrew)
authorLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 May 2017 00:55:59 +0000 (17:55 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 4 May 2017 00:55:59 +0000 (17:55 -0700)
Merge misc updates from Andrew Morton:

 - a few misc things

 - most of MM

 - KASAN updates

* emailed patches from Andrew Morton <akpm@linux-foundation.org>: (102 commits)
  kasan: separate report parts by empty lines
  kasan: improve double-free report format
  kasan: print page description after stacks
  kasan: improve slab object description
  kasan: change report header
  kasan: simplify address description logic
  kasan: change allocation and freeing stack traces headers
  kasan: unify report headers
  kasan: introduce helper functions for determining bug type
  mm: hwpoison: call shake_page() after try_to_unmap() for mlocked page
  mm: hwpoison: call shake_page() unconditionally
  mm/swapfile.c: fix swap space leak in error path of swap_free_entries()
  mm/gup.c: fix access_ok() argument type
  mm/truncate: avoid pointless cleancache_invalidate_inode() calls.
  mm/truncate: bail out early from invalidate_inode_pages2_range() if mapping is empty
  fs/block_dev: always invalidate cleancache in invalidate_bdev()
  fs: fix data invalidation in the cleancache during direct IO
  zram: reduce load operation in page_same_filled
  zram: use zram_free_page instead of open-coded
  zram: introduce zram data accessor
  ...

1  2 
kernel/locking/lockdep.c

index dc3297895ce38fac7049e4df4aeb67804cca2ea5,fd440b5a3c754cc0f0856cd43f59f128c57d330d..0a1b3c748478313dded15665692550a7264516ae
@@@ -3947,9 -3954,8 +3954,9 @@@ EXPORT_SYMBOL_GPL(lock_unpin_lock)
  
  void lockdep_set_current_reclaim_state(gfp_t gfp_mask)
  {
-       current->lockdep_reclaim_gfp = gfp_mask;
+       current->lockdep_reclaim_gfp = current_gfp_context(gfp_mask);
  }
 +EXPORT_SYMBOL_GPL(lockdep_set_current_reclaim_state);
  
  void lockdep_clear_current_reclaim_state(void)
  {