Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752725AbeAET6r (ORCPT + 1 other); Fri, 5 Jan 2018 14:58:47 -0500 Received: from mail-qt0-f171.google.com ([209.85.216.171]:34985 "EHLO mail-qt0-f171.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751731AbeAET6o (ORCPT ); Fri, 5 Jan 2018 14:58:44 -0500 X-Google-Smtp-Source: ACJfBot0nY55VlQQXtZJxE1mejaRlyjf5lB35NbsVv/n+E/ssvBrO/+7Ecic4O+R3b3O+ilVDKf65A== Date: Fri, 5 Jan 2018 14:58:42 -0500 From: Alexandru Chirvasitu To: Chris Wilson Cc: Jani Nikula , Joonas Lahtinen , Rodrigo Vivi , intel-gfx@lists.freedesktop.org, kernel list Subject: Re: PROBLEM: i915 causes complete desktop freezes in 4.15-rc5 Message-ID: <20180105195842.zryxccc74k7fi6gq@D-69-91-141-110.dhcp4.washington.edu> References: <151498727661.21495.7545852848027242671@mail.alporthouse.com> <20180103140340.GB2118@chirva-void> <151498852791.21495.13313443882665791372@mail.alporthouse.com> <20180103144826.GC2118@chirva-void> <151499122583.21495.1963140337943422469@mail.alporthouse.com> <20180103163131.GD2118@chirva-void> <20180103215315.yf2hclzhxcie7qzn@D-69-91-141-110.dhcp4.washington.edu> <151517474548.6838.1821139419472614998@mail.alporthouse.com> <20180105193724.ghxzkcdm4cgiskmi@D-69-91-141-110.dhcp4.washington.edu> <151518186129.6838.5497512563650996948@mail.alporthouse.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <151518186129.6838.5497512563650996948@mail.alporthouse.com> User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: OK, I then plan to try with the previous config, plus these modifications: CONFIG_PAGE_POISONING not set CONFIG_SLUB_STATS=y I'm a little puzzled about this: On Fri, Jan 05, 2018 at 07:51:01PM +0000, Chris Wilson wrote: > Quoting Alexandru Chirvasitu (2018-01-05 19:37:24) > > I'll try. I need a bit of clarification: > > > > On Fri, Jan 05, 2018 at 05:52:25PM +0000, Chris Wilson wrote: > > > Quoting Alexandru Chirvasitu (2018-01-03 21:53:15) > > > > All right, here's the dmesg from the kernel compiled from drm-tip (in > > > > sync with upstream at the time of the compilation earlier today), with > > > > > > > > CONFIG_DRM_I915_DEBUG_GEM=y > > > > > > > > I crashed it by opening 20+ xterm windows. Doesn't always do it though > > > > (tried this before). > > > > > > Sorry, still stumped. It's still the same use-after-free and no asserts > > > hit. Can you keep KASAN enabled but disable slab/page poisoning? Hmm, I > > > think it has to be page poisoning doing the 0x6b as SLAB_POISON is > > > disabled by default. > > > > Would this have to be through a new compilation, or would it do to > > just remove the poisoning kernel parameter on boot? > > CONFIG_PAGE_POISONING > > > > > > (You could check by enabling slabstats can looking in sysfs.) > > > > Sorry, I was having some trouble parsing this; what do I check again > > and how? > > > > Does 'slabstats' refer to another kernel config option or something > > else? > > It would be CONFIG_SLUB_STATS and then you would a > /sys/kernel/slab/i915_dependency/ directory with all the details of the > slab, and in particular a poison file showing the status (and allowing > it to modified) of slab poisoning > > Ok, it looks like poisoning is only available if CONFIG_SLUB_DEBUG is > set. Since it is not set, don't worry about it ;) I actually do have SLUB_DEBUG set to 'y' in the kernel whose dmesg I last sent you. > -Chris