* [to-be-updated] mm-page_alloc-print-symbolic-gfp_flags-on-allocation-failure.patch removed from -mm tree
@ 2016-01-07 23:50 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2016-01-07 23:50 UTC (permalink / raw)
To: vbabka, iamjoonsoo.kim, kirill.shutemov, mgorman, mhocko,
minchan, sasha.levin, mm-commits
The patch titled
Subject: mm, page_alloc: print symbolic gfp_flags on allocation failure
has been removed from the -mm tree. Its filename was
mm-page_alloc-print-symbolic-gfp_flags-on-allocation-failure.patch
This patch was dropped because an updated version will be merged
------------------------------------------------------
From: Vlastimil Babka <vbabka@suse.cz>
Subject: mm, page_alloc: print symbolic gfp_flags on allocation failure
It would be useful to translate gfp_flags into string representation when
printing in case of an allocation failure, especially as the flags have
been undergoing some changes recently and the script
./scripts/gfp-translate needs a matching source version to be accurate.
Example output:
stapio: page allocation failure: order:9, mode:0x2080020(GFP_ATOMIC)
Signed-off-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Joonsoo Kim <iamjoonsoo.kim@lge.com>
Cc: Minchan Kim <minchan@kernel.org>
Cc: Sasha Levin <sasha.levin@oracle.com>
Cc: "Kirill A. Shutemov" <kirill.shutemov@linux.intel.com>
Cc: Mel Gorman <mgorman@suse.de>
Acked-by: Michal Hocko <mhocko@suse.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
mm/page_alloc.c | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff -puN mm/page_alloc.c~mm-page_alloc-print-symbolic-gfp_flags-on-allocation-failure mm/page_alloc.c
--- a/mm/page_alloc.c~mm-page_alloc-print-symbolic-gfp_flags-on-allocation-failure
+++ a/mm/page_alloc.c
@@ -2703,9 +2703,9 @@ void warn_alloc_failed(gfp_t gfp_mask, u
va_end(args);
}
- pr_warn("%s: page allocation failure: order:%u, mode:0x%x\n",
+ pr_warn("%s: page allocation failure: order:%u, mode:0x%x",
current->comm, order, gfp_mask);
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2016-01-07 23:50 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-07 23:50 [to-be-updated] mm-page_alloc-print-symbolic-gfp_flags-on-allocation-failure.patch removed from -mm tree akpm
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.