[PATCH v2 0/2] Fix __GFP_ZERO vs constructor

From: Matthew Wilcox
Date: Wed Apr 11 2018 - 02:03:48 EST


From: Matthew Wilcox <mawilcox@xxxxxxxxxxxxx>

v1->v2:
- Added review/ack tags (thanks!)
- Switched the order of the patches
- Reworded commit message of the patch which actually fixes the bug
- Moved slab debug patches under CONFIG_DEBUG_VM to check _every_
allocation and added checks in the slowpath for the allocations which
end up allocating a page.

Matthew Wilcox (2):
Fix NULL pointer in page_cache_tree_insert
slab: __GFP_ZERO is incompatible with a constructor

mm/filemap.c | 9 ++++-----
mm/slab.c | 7 ++++---
mm/slab.h | 7 +++++++
mm/slob.c | 4 +++-
mm/slub.c | 5 +++--
5 files changed, 21 insertions(+), 11 deletions(-)

--
2.16.3