Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp5879397imd; Wed, 31 Oct 2018 03:37:09 -0700 (PDT) X-Google-Smtp-Source: AJdET5dZbzpwM6CsC91MdXjTk9GVtaZQDLCUEWKYlEQBgLgXYZtGXn0mAlZV51s0gX4V1Kdb2xis X-Received: by 2002:a63:a35c:: with SMTP id v28mr2579017pgn.205.1540982229840; Wed, 31 Oct 2018 03:37:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540982229; cv=none; d=google.com; s=arc-20160816; b=z7o870PtkFC792RqNefnbceLODwOUy6RPDg3rxi0bF6yf3loCh3WOjbuwp6Qado700 z0hpl5jvIvTVHvBk3ivT99zmMc0/KtBCutfasjtAjAEKmd2V6fclxS5nVgccGSH7HDg5 YaCBK7i4VXVIMmL//oTqgcELdm5jOjD50BiBIW09HbcIj2H8GYnuY4CTsKSMcZk4OgFP DDniqvC2J/Lt/4ojVpic3czQ7cvuKZ70fVy6kp4H2vPQ5l5ksOelY0akF6VnrCs0DMOe ooi0Epqn6LRHAfx4OPS47/IRm3J2yGJbJcBr2xk1pZOc2V3+89rdderSPCJnIEG16gZX wFdA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature; bh=E4hlYcAfrnMiHB/q+G9qBdD3RdnyOP28Cp+SSPnWYcQ=; b=dRP3otHE9aHUiW2YFNOwfbfpHJ7l1wy8La+CbyXRe10lXksyh3j4BliSF6dcmvNvxb ttar6SDLCDFdXuQRdt4EVzgW05Y2s5ZdwXbUzrT5xoazMlPMeYIG/6VEsy488BD3p5OT 1+IlPutjOP6oDyTTferPePARz55XQO67EPDioHgkzb3WEkeDx0hwl9YJ09MBww6FMlvp j0nf41DV6yJ5w7F1jJDBWpue0tEpD4Rz/NQS+4zhSNvPmnsKf4vXIvZHMDtD3jM/snT/ hGwPi6K+9VIYRdGlTYKzo5Q8iUD526DExoJH/izQ1g8MYB9AMa9tRnb5xEDAuQY8uz1v xIpQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=qrzTrxFK; 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 t10-v6si28666693pfk.252.2018.10.31.03.36.54; Wed, 31 Oct 2018 03:37:09 -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; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=qrzTrxFK; 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 S1728704AbeJaTeD (ORCPT + 99 others); Wed, 31 Oct 2018 15:34:03 -0400 Received: from mail-yw1-f67.google.com ([209.85.161.67]:37106 "EHLO mail-yw1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728102AbeJaTeC (ORCPT ); Wed, 31 Oct 2018 15:34:02 -0400 Received: by mail-yw1-f67.google.com with SMTP id v77-v6so6227952ywc.4 for ; Wed, 31 Oct 2018 03:36:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shutemov-name.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=E4hlYcAfrnMiHB/q+G9qBdD3RdnyOP28Cp+SSPnWYcQ=; b=qrzTrxFKQ4A25+TG3O0IzG6S9jGRb8qS4JS3Mo6M67hfoQi3fyxYdYnuQnzSUY0S+k 95aw0NeB4eSXzzPhhl39dGWblCc92JUPFq7+Fl82N4fmwSWKdgQhFKQDu2xPhcSEa+Yy nKLDWWwylKTl7JZljLSPwlKPhM946kyorUHkgV/RyPNSUGInuGvM6ifW4tc+xg20YZxZ 95mSzw8BRMj4c2HF8sJnVj5OeVGGw9rxpYpD8bWdCyZr8pOyeGTNOXuv4/ts8ILEOmgj Jl1D04dAQG1xcLA6jLkKSZXjMHOGzq4SrVXROsCgf2jlChLGOwIZ9P3qgeYYD2cWt88F qOYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=E4hlYcAfrnMiHB/q+G9qBdD3RdnyOP28Cp+SSPnWYcQ=; b=ntWUV2TtScNuFODc2iaJsuNP+BEm19svKgOkXXW+z5JWSCahPPYbKF6ZQZaMnVaLJ1 oWQoX8a/88xZGtPeMLWfEJ/KQTkK8BHxVGVUIb1OGeMK4EWDX0CJrWijvke4TVgh80wK PVIbn8pElP2TxX/CEv7QkAeX8SK6yxZXH3w67Gijaxti/Az9fi5npphBGWeZo/HlSphe hRwQBGCHnD0DWSQaLl/xhxKIIugfWs++x8rxNrkwuQCVz8UPL5RRTCtcrB1sgvJcPalI TxKiD/4Co4joPGxKTN+heFIMGcQINMw+tX8d34Q2I7xctEfT9wiir10hbUFsn1+Qi9sM g3rQ== X-Gm-Message-State: AGRZ1gKybhGrSIVfX/ViAJex62CPZySl2mQw5cruN49Tj3T1LTadL29v /WHcSOmx3neTCRmnVMvkYu/+Kw== X-Received: by 2002:a81:a243:: with SMTP id z64-v6mr2261954ywg.42.1540982189233; Wed, 31 Oct 2018 03:36:29 -0700 (PDT) Received: from kshutemo-mobl1.localdomain ([134.134.139.82]) by smtp.gmail.com with ESMTPSA id t65-v6sm6083506ywa.99.2018.10.31.03.36.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 31 Oct 2018 03:36:28 -0700 (PDT) Received: by kshutemo-mobl1.localdomain (Postfix, from userid 1000) id 74840301604; Wed, 31 Oct 2018 13:36:23 +0300 (+03) Date: Wed, 31 Oct 2018 13:36:23 +0300 From: "Kirill A. Shutemov" To: Heiko Carstens Cc: "Kirill A. Shutemov" , Li Wang , Guenter Roeck , Janosch Frank , linux-kernel , Linux-MM , Martin Schwidefsky Subject: Re: [PATCH 3/3] s390/mm: fix mis-accounting of pgtable_bytes Message-ID: <20181031103623.6ykzsjdenrpeth7x@kshutemo-mobl1> References: <1539621759-5967-1-git-send-email-schwidefsky@de.ibm.com> <1539621759-5967-4-git-send-email-schwidefsky@de.ibm.com> <20181031073149.55ddc085@mschwideX1> <20181031100944.GA3546@osiris> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181031100944.GA3546@osiris> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Oct 31, 2018 at 11:09:44AM +0100, Heiko Carstens wrote: > On Wed, Oct 31, 2018 at 07:31:49AM +0100, Martin Schwidefsky wrote: > > Thanks for testing. Unfortunately Heiko reported another issue yesterday > > with the patch applied. This time the other way around: > > > > BUG: non-zero pgtables_bytes on freeing mm: -16384 > > > > I am trying to understand how this can happen. For now I would like to > > keep the patch on hold in case they need another change. > > FWIW, Kirill: is there a reason why this "BUG:" output is done with > pr_alert() and not with VM_BUG_ON() or one of the WARN*() variants? > > That would to get more information with DEBUG_VM and / or > panic_on_warn=1 set. At least for automated testing it would be nice > to have such triggers. Stack trace is not helpful there. It will always show the exit path which is useless. -- Kirill A. Shutemov