From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: MIME-Version: 1.0 In-Reply-To: <201801120131.w0C1VJUN034283@www262.sakura.ne.jp> References: <201801112311.EHI90152.FLJMQOStVHFOFO@I-love.SAKURA.ne.jp> <20180111142148.GD1732@dhcp22.suse.cz> <201801120131.w0C1VJUN034283@www262.sakura.ne.jp> From: Linus Torvalds Date: Thu, 11 Jan 2018 17:42:03 -0800 Message-ID: Subject: Re: [mm 4.15-rc7] Random oopses under memory pressure. To: Tetsuo Handa Cc: Michal Hocko , linux-mm , "the arch/x86 maintainers" , linux-fsdevel Content-Type: text/plain; charset="UTF-8" Sender: owner-linux-mm@kvack.org List-ID: On Thu, Jan 11, 2018 at 5:31 PM, Tetsuo Handa wrote: > > Thus, I suspect that somewhere is confusing HighMem pages and !HighMem pages. Hmm. I can't even imagine how you'd do that. Sure, if you take page_address() to get a kmap'ed linear address, and then feed that linear address back to virt_to_page(), you'd certainly get a crazy page. But that would be insane.. I don't see how you'd do that. Hmm. Do you have CONFIG_DEBUG_VIRTUAL enabled? That should catch at least the above case, it should enable a debugging version of __virt_to_phys() and use it. Linus -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org