Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756792AbdHYNO1 (ORCPT ); Fri, 25 Aug 2017 09:14:27 -0400 Received: from tartarus.angband.pl ([89.206.35.136]:56834 "EHLO tartarus.angband.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755317AbdHYNOZ (ORCPT ); Fri, 25 Aug 2017 09:14:25 -0400 Date: Fri, 25 Aug 2017 15:14:21 +0200 From: Adam Borowski To: Wanpeng Li Cc: Paolo Bonzini , Radim =?utf-8?B?S3LEjW3DocWZ?= , kvm , "linux-kernel@vger.kernel.org" Subject: Re: kvm splat in mmu_spte_clear_track_bits Message-ID: <20170825131419.r5lzm6oluauu65nx@angband.pl> References: <20170820231302.s732zclznrqxwr46@angband.pl> <20170821191203.jospdwqpnixlotx3@angband.pl> <20170821195833.GA696@flask> <20170821223228.edc6jrm7bpybtqlj@angband.pl> <1c270e76-05be-6f5f-29c6-9cb31f37f71d@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Junkbait: aaron@angband.pl, zzyx@angband.pl User-Agent: NeoMutt/20170113 (1.7.2) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: kilobyte@angband.pl X-SA-Exim-Scanned: No (on tartarus.angband.pl); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1855 Lines: 45 On Thu, Aug 24, 2017 at 03:43:55PM +0800, Wanpeng Li wrote: > 2017-08-23 20:22 GMT+08:00 Paolo Bonzini : > > On 22/08/2017 00:32, Adam Borowski wrote: > >> On Mon, Aug 21, 2017 at 09:58:34PM +0200, Radim Krčmář wrote: > >>> 2017-08-21 21:12+0200, Adam Borowski: > >>>> Also, it doesn't reproduce for me on 4.12. > >>> > >>> Great info ... the most suspicious between v4.12 and v4.13-rc5 is the > >>> series with dcdca5fed5f6 ("x86: kvm: mmu: make spte mmio mask more > >>> explicit"), does reverting it help? > >>> > >>> `git revert ce00053b1cfca312c22e2a6465451f1862561eab~1..995f00a619584e65e53eff372d9b73b121a7bad5` > >> > >> Alas, doesn't seem to help. > >> > >> I've first installed a Debian stretch guest, the host survived both the > >> installation and subsequent fooling around. But then I started a win10 > >> guest which splatted as soon as the initial screen. > > > > Can you check if disabling THP on the host also fixes it for you? As in: ? echo never >/sys/kernel/mm/transparent_hugepage/enabled echo never >/sys/kernel/mm/transparent_hugepage/defrag Still reproduces, with or without reverting ce00053b1cfca312c22e2a6465451f1862561eab~1..995f00a619584e65e53eff372d9b73b121a7bad5 > > I would also try commit 1372324b328cd5dabaef5e345e37ad48c63df2a9 to > > identify whether it was caused by a KVM change in 4.13 or something > > else. I've ran different guests for a couple of hours, no explosions. Thus it looks like updating Cornelia's email address isn't the cause. Too bad, there's 15k commits between 1372324b and 7f680d7ec315. > For the OOM testcase, the splat will disappear if disabling THP. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ ⣾⠁⢰⠒⠀⣿⡁ Vat kind uf sufficiently advanced technology iz dis!? ⢿⡄⠘⠷⠚⠋⠀ -- Genghis Ht'rok'din ⠈⠳⣄⠀⠀⠀⠀