mm-make-mem_dump_obj-handle-null-and-zero-sized-pointers.patch removed from -mm tree
The patch titled
Subject: mm: make mem_dump_obj() handle NULL and zero-sized pointers
has been removed from the -mm tree. Its filename was
mm-make-mem_dump_obj-handle-null-and-zero-sized-pointers.patch
This patch was dropped because it was merged into mainline or a subsystem tree
------------------------------------------------------
From: "Paul E. McKenney" <[email protected]>
Subject: mm: make mem_dump_obj() handle NULL and zero-sized pointers
This commit makes mem_dump_obj() call out NULL and zero-sized pointers specially instead of classifying them as non-paged memory.
Signed-off-by Paul E. McKenney <[email protected]>
Acked-by Vlastimil Babka <[email protected]>
Reported-by Andrii Nakryiko <[email protected]>
Cc Christoph Lameter <[email protected]>
Cc Pekka Enberg <[email protected]>
Cc David Rientjes <[email protected]>
Cc Joonsoo Kim <[email protected]>
Cc Jens Axboe <[email protected]>
Cc Ming Lei <[email protected]>
Signed-off-by Andrew Morton <[email protected]>
---
mm/util.c | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-)
mm/util.c renamed from mm/util.c~mm-make-mem_dump_obj-handle-null-and-zero-sized-pointers +6 -1
@@ -997,7 +997,12 @@ int __weak memcmp_pages(struct page *pagvoid mem_dump_obj (void *object) {if (!virt_addr_valid (object)) { -pr_cont (" non-paged (local) memory.\n" ); +if (object ==NULL ) +pr_cont (" NULL pointer.\n" ); +else if (object ==ZERO_SIZE_PTR ) +pr_cont (" zero-size pointer.\n" ); +else +pr_cont (" non-paged (local) memory.\n" );return ; }if (kmem_valid_obj (object)) {
_
Patches currently in -mm which might be from [email protected] are