summaryrefslogtreecommitdiff
path: root/patches/0006-mm-slub-Don-t-resize-the-location-tracking-cache-on-.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/0006-mm-slub-Don-t-resize-the-location-tracking-cache-on-.patch')
-rw-r--r--patches/0006-mm-slub-Don-t-resize-the-location-tracking-cache-on-.patch29
1 files changed, 0 insertions, 29 deletions
diff --git a/patches/0006-mm-slub-Don-t-resize-the-location-tracking-cache-on-.patch b/patches/0006-mm-slub-Don-t-resize-the-location-tracking-cache-on-.patch
deleted file mode 100644
index 5f26d9bbae90..000000000000
--- a/patches/0006-mm-slub-Don-t-resize-the-location-tracking-cache-on-.patch
+++ /dev/null
@@ -1,29 +0,0 @@
-From: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
-Date: Fri, 26 Feb 2021 17:26:04 +0100
-Subject: [PATCH 6/8] mm: slub: Don't resize the location tracking cache on
- PREEMPT_RT
-
-The location tracking cache has a size of a page and is resized if its
-current size is too small.
-This allocation happens with disabled interrupts and can't happen on
-PREEMPT_RT.
-Should one page be too small, then we have to allocate more at the
-beginning. The only downside is that less callers will be visible.
-
-Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>
----
- mm/slub.c | 3 +++
- 1 file changed, 3 insertions(+)
-
---- a/mm/slub.c
-+++ b/mm/slub.c
-@@ -4822,6 +4822,9 @@ static int alloc_loc_track(struct loc_tr
- struct location *l;
- int order;
-
-+ if (IS_ENABLED(CONFIG_PREEMPT_RT) && flags == GFP_ATOMIC)
-+ return 0;
-+
- order = get_order(sizeof(struct location) * max);
-
- l = (void *)__get_free_pages(flags, order);