From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ob0-f181.google.com (mail-ob0-f181.google.com [209.85.214.181]) by kanga.kvack.org (Postfix) with ESMTP id 16A996B0005 for ; Tue, 16 Feb 2016 09:28:51 -0500 (EST) Received: by mail-ob0-f181.google.com with SMTP id wb13so261191583obb.1 for ; Tue, 16 Feb 2016 06:28:51 -0800 (PST) Received: from g4t3426.houston.hp.com (g4t3426.houston.hp.com. [15.201.208.54]) by mx.google.com with ESMTPS id x5si15470145obs.53.2016.02.16.06.28.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 16 Feb 2016 06:28:50 -0800 (PST) Message-ID: <1455636108.2925.135.camel@hpe.com> Subject: Re: [PATCH v2] x86/mm/vmfault: Make vmalloc_fault() handle large pages From: Toshi Kani Date: Tue, 16 Feb 2016 08:21:48 -0700 In-Reply-To: <20160213115418.GB15973@pd.tnic> References: <1455236836-24579-1-git-send-email-toshi.kani@hpe.com> <20160213115418.GB15973@pd.tnic> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: owner-linux-mm@kvack.org List-ID: To: Borislav Petkov Cc: tglx@linutronix.de, mingo@redhat.com, hpa@zytor.com, henning.schild@siemens.com, linux-nvdimm@lists.01.org, linux-mm@kvack.org, linux-kernel@vger.kernel.org On Sat, 2016-02-13 at 12:54 +0100, Borislav Petkov wrote: > On Thu, Feb 11, 2016 at 05:27:16PM -0700, Toshi Kani wrote: > > The following oops was observed when a read syscall was made to > > a pmem device after a huge amount (>512GB) of vmalloc ranges was > > allocated by ioremap() on a x86_64 system. > > > > A BUG: unable to handle kernel paging request at ffff880840000ff8 > > A IP: [] vmalloc_fault+0x1be/0x300 > > A PGD c7f03a067 PUD 0 > > A Oops: 0000 [#1] SM > > A A A : > > A Call Trace: > > A [] __do_page_fault+0x285/0x3e0 > > A [] do_page_fault+0x2f/0x80 > > A [] ? put_prev_entity+0x35/0x7a0 > > A [] page_fault+0x28/0x30 > > A [] ? memcpy_erms+0x6/0x10 > > A [] ? schedule+0x35/0x80 > > A [] ? pmem_rw_bytes+0x6a/0x190 [nd_pmem] > > A [] ? schedule_timeout+0x183/0x240 > > A [] btt_log_read+0x63/0x140 [nd_btt] > > A A A : > > A [] ? __symbol_put+0x60/0x60 > > A [] ? kernel_read+0x50/0x80 > > A [] SyS_finit_module+0xb9/0xf0 > > A [] entry_SYSCALL_64_fastpath+0x1a/0xa4 > > Please remove those virtual addresses and offsets here as they're > meaningless and leave only the callstack. Will do. A : > > --- > > When this patch is accepted, please copy to stable up to 4.1. > > You can do that yourself when submitting by adding this to the CC-list > above. > > Cc: # 4.1.. I see. A I will add it to the next version. > Rest looks ok to me. Great! A Thanks, -Toshi -- 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