* + lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2.patch added to -mm tree
@ 2021-09-15 23:01 akpm
0 siblings, 0 replies; only message in thread
From: akpm @ 2021-09-15 23:01 UTC (permalink / raw)
To: airlied, andreyknvl, daniel, dvyukov, geert, glider,
imran.f.khan, maarten.lankhorst, mm-commits, mripard,
ryabinin.a.a, tzimmermann, vbabka
The patch titled
Subject: lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2
has been added to the -mm tree. Its filename is
lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2.patch
This patch should soon appear at
https://ozlabs.org/~akpm/mmots/broken-out/lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2.patch
and later at
https://ozlabs.org/~akpm/mmotm/broken-out/lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2.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: Imran Khan <imran.f.khan@oracle.com>
Subject: lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2
fix build error
Link: https://lkml.kernel.org/r/20210915175321.3472770-4-imran.f.khan@oracle.com
Signed-off-by: Imran Khan <imran.f.khan@oracle.com>
Suggested-by: Vlastimil Babka <vbabka@suse.cz>
Acked-by: Vlastimil Babka <vbabka@suse.cz>
Cc: Alexander Potapenko <glider@google.com>
Cc: Andrey Konovalov <andreyknvl@gmail.com>
Cc: Andrey Ryabinin <ryabinin.a.a@gmail.com>
Cc: Daniel Vetter <daniel@ffwll.ch>
Cc: David Airlie <airlied@linux.ie>
Cc: Dmitry Vyukov <dvyukov@google.com>
Cc: Geert Uytterhoeven <geert@linux-m68k.org>
Cc: Maarten Lankhorst <maarten.lankhorst@linux.intel.com>
Cc: Maxime Ripard <mripard@kernel.org>
Cc: Thomas Zimmermann <tzimmermann@suse.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
---
drivers/gpu/drm/drm_mm.c | 2 +-
drivers/gpu/drm/i915/intel_runtime_pm.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
--- a/drivers/gpu/drm/drm_mm.c~lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2
+++ a/drivers/gpu/drm/drm_mm.c
@@ -131,7 +131,7 @@ static void show_leaks(struct drm_mm *mm
continue;
}
- stack_depot_snprint(node->stack, buf, BUFSZ);
+ stack_depot_snprint(node->stack, buf, BUFSZ, 0);
DRM_ERROR("node [%08llx + %08llx]: inserted at\n%s",
node->start, node->size, buf);
}
--- a/drivers/gpu/drm/i915/intel_runtime_pm.c~lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2
+++ a/drivers/gpu/drm/i915/intel_runtime_pm.c
@@ -193,7 +193,7 @@ __print_intel_runtime_pm_wakeref(struct
rep = 1;
while (i + 1 < dbg->count && dbg->owners[i + 1] == stack)
rep++, i++;
- stack_depot_print(stack, buf, PAGE_SIZE, 2);
+ stack_depot_snprint(stack, buf, PAGE_SIZE, 2);
drm_printf(p, "Wakeref x%lu taken at:\n%s", rep, buf);
}
_
Patches currently in -mm which might be from imran.f.khan@oracle.com are
lib-stackdepot-check-stackdepot-handle-before-accessing-slabs.patch
lib-stackdepot-add-helper-to-print-stack-entries.patch
lib-stackdepot-add-helper-to-print-stack-entries-into-buffer.patch
lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2.patch
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2021-09-15 23:01 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-09-15 23:01 + lib-stackdepot-add-helper-to-print-stack-entries-into-buffer-v2.patch added to -mm tree akpm
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).