Messages in this thread | | | Date | Wed, 6 Jan 2021 20:49:14 -0500 | From | Steven Rostedt <> | Subject | Re: [BUG] from x86: Support kmap_local() forced debugging |
| |
On Wed, 6 Jan 2021 17:03:48 -0800 Linus Torvalds <torvalds@linux-foundation.org> wrote:
> --- 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
| |