Received: by 2002:ac0:a582:0:0:0:0:0 with SMTP id m2-v6csp197990imm; Tue, 9 Oct 2018 16:25:23 -0700 (PDT) X-Google-Smtp-Source: ACcGV63m5jPf9WKmmeTyiPUml/U38UA4RZ7x3CZhQJhOhuqh5gFzOKgKGubwBmINboUVdt1XPC2P X-Received: by 2002:a62:6414:: with SMTP id y20-v6mr32194805pfb.213.1539127523094; Tue, 09 Oct 2018 16:25:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1539127523; cv=none; d=google.com; s=arc-20160816; b=TPdGW6cbdAD3j8rfKSOnJQ9s5kEmeECv76Yrj2bLY/Hn4UOdbGjwBEPr72Yrx5k6el jxKCnr4a5m08lIxXcI2E3w2XBIEOXB+d1oWANzms0emIzWHixb7Vu3I7OvOB4vWc5PVf JjzFHz6h14XlyEbuyq0IPPMFiIxiCOwbTGSCixvYjbdnIzxlmsKmVQ0+hOUe4mMjLOeF SvKXRl5an/4H4tbXylMjycLNACcQvRJLSy1/pGm/hNNReR99xP0yhzLETYNGQNvuU7pY lHNNGCOlCDpSoV8hMHNuV3NOcWUhwgvsczwehS4g4SkeHhD3CDaTU4bwXPgKNshoOgrH Z02A== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:subject:cc:to:from:date; bh=g93iJHA+Ikt17DGZrYT+0i/Q0+Kb5UdfMZmqs8VDuXk=; b=At+kIIqpjig3HJHbyz73/TOGXLYfUTTsufQ+d1/Dkq9cfn91AyWdewmEeNywMRwK+W hI+MZsKcg8sc8hNVb6wQx7s88Rlqda3JbnmwR/PlNLm3S37Ia7aILTwsoOzJc9hznzPm zgaxxObvN5jkxoOanVem3K5UtxWHgK2hFaHAv9F86Ozm0T47oU9UK14U8bb/rHJFzgXl 3tY57TRsxR4t43USRFHatTJkXuEQQN24DKaqGqYcFt+0aKGIWyEgGJAo6rkeRHp5rJUE HThqI2+tsgf5GGGngt71PFy77xgGCd0y5qWFfmTqzRgLKouHnaHcPpLs7mwQJoL1BZem kZeQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id u6-v6si21931783pld.48.2018.10.09.16.25.08; Tue, 09 Oct 2018 16:25:23 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726712AbeJJGoB (ORCPT + 99 others); Wed, 10 Oct 2018 02:44:01 -0400 Received: from mail.linuxfoundation.org ([140.211.169.12]:47356 "EHLO mail.linuxfoundation.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725750AbeJJGoB (ORCPT ); Wed, 10 Oct 2018 02:44:01 -0400 Received: from akpm3.svl.corp.google.com (unknown [104.133.8.65]) by mail.linuxfoundation.org (Postfix) with ESMTPSA id A5898ACB; Tue, 9 Oct 2018 23:24:41 +0000 (UTC) Date: Tue, 9 Oct 2018 16:24:40 -0700 From: Andrew Morton To: Heiko Carstens Cc: Pingfan Liu , Christoph Lameter , Pekka Enberg , David Rientjes , Joonsoo Kim , linux-next@vger.kernel.org, linux-mm@kvack.org, linux-s390@vger.kernel.org, linux-kernel@vger.kernel.org, Stephen Rothwell Subject: Re: [BUG -next 20181008] list corruption with "mm/slub: remove useless condition in deactivate_slab" Message-Id: <20181009162440.d40400a42544aced64f28572@linux-foundation.org> In-Reply-To: <20181009063500.GB3555@osiris> References: <20181009063500.GB3555@osiris> X-Mailer: Sylpheed 3.6.0 (GTK+ 2.24.31; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, 9 Oct 2018 08:35:00 +0200 Heiko Carstens wrote: > with linux-next for 20181008 I can reliably crash my system with lot's of > debugging options enabled on s390. List debugging triggers the list > corruption below, which I could bisect down to this commit: > > fde06e07750477f049f12d7d471ffa505338a3e7 is the first bad commit > commit fde06e07750477f049f12d7d471ffa505338a3e7 > Author: Pingfan Liu > Date: Thu Oct 4 07:43:01 2018 +1000 > > mm/slub: remove useless condition in deactivate_slab > > The var l should be used to reflect the original list, on which the page > should be. But c->page is not on any list. Furthermore, the current code > does not update the value of l. Hence remove the related logic > > Link: http://lkml.kernel.org/r/1537941430-16217-1-git-send-email-kernelfans@gmail.com > Signed-off-by: Pingfan Liu > Acked-by: Christoph Lameter > Cc: Pekka Enberg > Cc: David Rientjes > Cc: Joonsoo Kim > Signed-off-by: Andrew Morton > Signed-off-by: Stephen Rothwell > > list_add double add: new=000003d1029ecc08, prev=000000008ff846d0,next=000003d1029ecc08. > ------------[ cut here ]------------ > kernel BUG at lib/list_debug.c:31! Thanks much. I'll drop mm-slub-remove-useless-condition-in-deactivate_slab.patch.