Thread (9 messages) flat view 9 messages, 4 authors, 2021-01-07

Re: [BUG] from x86: Support kmap_local() forced debugging

From: Steven Rostedt <rostedt@goodmis.org>
Date: 2021-01-07 01:50:16
Also in: linux-mm, lkml

On Wed, 6 Jan 2021 17:03:48 -0800
Linus Torvalds [off-list ref] wrote:
quoted hunk ↗ jump to hunk
--- a/include/linux/skbuff.h
+++ b/include/linux/skbuff.h
@@ -366,7 +366,7 @@ static inline void skb_frag_size_sub(skb_frag_t *frag, int delta)
 static inline bool skb_frag_must_loop(struct page *p)
 {
 #if defined(CONFIG_HIGHMEM)
-	if (PageHighMem(p))
+	if (IS_ENABLED(CONFIG_DEBUG_KMAP_LOCAL_FORCE_MAP) || PageHighMem(p))
 		return true;
 #endif
 	return false;
I applied this and I haven't been able to crash it again.

Thanks,

-- Steve
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help