+ mm-print-more-information-about-mapping-in-__dump_page-fix-2.patch added to -mm tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The patch titled
     Subject: mm-print-more-information-about-mapping-in-__dump_page-fix-2
has been added to the -mm tree.  Its filename is
     mm-print-more-information-about-mapping-in-__dump_page-fix-2.patch

This patch should soon appear at
    http://ozlabs.org/~akpm/mmots/broken-out/mm-print-more-information-about-mapping-in-__dump_page-fix-2.patch
and later at
    http://ozlabs.org/~akpm/mmotm/broken-out/mm-print-more-information-about-mapping-in-__dump_page-fix-2.patch

Before you just go and hit "reply", please:
   a) Consider who else should be cc'ed
   b) Prefer to cc a suitable mailing list as well
   c) Ideally: find the original patch on the mailing list and do a
      reply-to-all to that, adding suitable additional cc's

*** Remember to use Documentation/process/submit-checklist.rst when testing your code ***

The -mm tree is included into linux-next and is updated
there every 3-4 working days

------------------------------------------------------
From: Michal Hocko <mhocko@xxxxxxxxxx>
Subject: mm-print-more-information-about-mapping-in-__dump_page-fix-2

use %dp to print dentry

Link: http://lkml.kernel.org/r/20181125080834.GB12455@xxxxxxxxxxxxxx
Cc: Tetsuo Handa <penguin-kernel@xxxxxxxxxxxxxxxxxxx>
Cc: Dan Carpenter <dan.carpenter@xxxxxxxxxx>
Cc: Pavel Tatashin <pasha.tatashin@xxxxxxxxxx>
Cc: Alexander Duyck <alexander.h.duyck@xxxxxxxxxxxxxxx>
Cc: Matthew Wilcox <willy@xxxxxxxxxxxxx>
Signed-off-by: Andrew Morton <akpm@xxxxxxxxxxxxxxxxxxxx>
---


--- a/mm/debug.c~mm-print-more-information-about-mapping-in-__dump_page-fix-2
+++ a/mm/debug.c
@@ -80,7 +80,7 @@ void __dump_page(struct page *page, cons
 		if (mapping->host->i_dentry.first) {
 			struct dentry *dentry;
 			dentry = container_of(mapping->host->i_dentry.first, struct dentry, d_u.d_alias);
-			pr_emerg("name:\"%.*s\" ", dentry->d_name.len, dentry->d_name.name);
+			pr_emerg("name:\"%pd\" ", dentry);
 		}
 	}
 	BUILD_BUG_ON(ARRAY_SIZE(pageflag_names) != __NR_PAGEFLAGS + 1);
_

Patches currently in -mm which might be from mhocko@xxxxxxxxxx are

mm-print-more-information-about-mapping-in-__dump_page-fix-2.patch




[Index of Archives]     [Kernel Archive]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux