projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f3f5baa
)
LOCAL / mm, page_alloc: Add print page allocation failure reason
author
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Thu, 7 Mar 2019 02:18:21 +0000
(11:18 +0900)
committer
Hoegeun Kwon
<hoegeun.kwon@samsung.com>
Thu, 3 Aug 2023 08:43:00 +0000
(17:43 +0900)
There is an unclear problem when page alloc failed. So clearly print
the cause of the failure.
Change-Id: Ie59e1d4e34deabb8733268edfb433754f43766a8
Signed-off-by: Hoegeun Kwon <hoegeun.kwon@samsung.com>
mm/page_alloc.c
patch
|
blob
|
history
diff --git
a/mm/page_alloc.c
b/mm/page_alloc.c
index
53a201a
..
15191b2
100644
(file)
--- a/
mm/page_alloc.c
+++ b/
mm/page_alloc.c
@@
-9040,6
+9040,9
@@
static int __alloc_contig_migrate_range(struct compact_control *cc,
while (pfn < end || !list_empty(&cc->migratepages)) {
if (fatal_signal_pending(current)) {
+ pr_err("Fatal signal pending task: %s(%d), %#lx\n",
+ current->comm, current->pid,
+ current->pending.signal.sig[0]);
ret = -EINTR;
break;
}