Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp441467imu; Tue, 27 Nov 2018 00:47:38 -0800 (PST) X-Google-Smtp-Source: AFSGD/Wzit/JLmSy8JG8Y7DPZhaJCF7PiV6jqA/UOUqRl7pR9WOuk4Nov8nmSKmkbAC8PmMdBV5s X-Received: by 2002:a65:624c:: with SMTP id q12mr28557592pgv.379.1543308458696; Tue, 27 Nov 2018 00:47:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543308458; cv=none; d=google.com; s=arc-20160816; b=ulgJL78M9NF8kEyCl7rRX1PSe4W2YzWMwCYbmsQtX4Hi5rWd2iZfchfp/+tE6HFbI7 4JsaeF+TU6eAh0Abhn58MSxITuSwy5JZejPhr78d+UT+9Mb0Ujh6Ky6n+7kv0ro2IcGC nO0E15hgKye96OktlM1VS3H8Rzau+FGPvlZUKMl8T8HPE0BS6JrdE2PaZiOBA1wr/pN1 pafrFOIB635oUoWVuKHTLH0AMnwB+Lb4+gl85L1sMbXE9RSHupcZ6NHy5MHbNWstIhol gRBpjRZn4IEauZhO8V++CF5UB7gHbbqfoHloVycBolDvg7GBi/jConLeeL2K0tR27L4Q Porw== 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=GD/mJ/4LVmZ7pe+vwKD8oyKo0/Shm+lwnbKmfy0Gwio=; b=oSRrlVrXAbhGcO+smSoC9Xa1oJOVjbNq/iCnOxzF3kHt1yI2xz7MVyhUjWMQwUdOQQ uGLMHaRQaq9Cs09Pl/aCCl578MBcP13JStIX8NEgPAWDs/IfT06Ffu3Z+pF7ePATWNgq MVIKWJBih7MZQqq5LY4/CKABbX9AHiRVcKFVUy3BAMhMaIvH4+8AKeVKPj0Sfbp7OU5Y 2RtkO8q0sAtqwhhC8tC2nWr9Uzg8Z/cDMN4JvPj87/sZgV+M07vLsMBu6QdN5Ipw3wfN 8Jbr1QRjdmk2b84dNRViP+UeQD3kx56Sco3hlucRDan6caI4wf1GpNE/mMxH6/PVh3lt 8mPA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@shutemov-name.20150623.gappssmtp.com header.s=20150623 header.b=vzmN9Duz; 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 g6si3088996plp.132.2018.11.27.00.47.23; Tue, 27 Nov 2018 00:47:38 -0800 (PST) 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=vzmN9Duz; 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 S1729653AbeK0Tnk (ORCPT + 99 others); Tue, 27 Nov 2018 14:43:40 -0500 Received: from mail-pf1-f194.google.com ([209.85.210.194]:37524 "EHLO mail-pf1-f194.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728882AbeK0Tnk (ORCPT ); Tue, 27 Nov 2018 14:43:40 -0500 Received: by mail-pf1-f194.google.com with SMTP id y126so134873pfb.4 for ; Tue, 27 Nov 2018 00:46:31 -0800 (PST) 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=GD/mJ/4LVmZ7pe+vwKD8oyKo0/Shm+lwnbKmfy0Gwio=; b=vzmN9DuzzqHd6NutLzs3i/48D2mgJYssnF04v3YQh7tV6tSioaUzSZD64FJuFlDoYA 0bk6ey0gGqZp40QTEAv5FsyQDbGTDlYqwleVUAdiLR4wiI/oAgY+u1gBGbz9DRaDnWfg HlzuhmUZz9uu8lQOrBh6YjRBJ9Pv7DR2W/ajikXBQ0rxldzhUc3eYgYkfAAUcbQc+lwi UpYy0zxKeO9A+tyRCaS05MfNccxa1w+C206YhaYSFQvYgM1wmgcJe83wlaw7/hEx2S2b 6r+Fo8R5VSmwF0UyvR5grL91DdfPvhWfUMrDrU7rgj9TL1gvkuNVaUNnnUobisu9sso6 UBpQ== 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=GD/mJ/4LVmZ7pe+vwKD8oyKo0/Shm+lwnbKmfy0Gwio=; b=RhYXM+c/EosJEeZYJHQcR8P811lBMfOf0M4U+YBUM4sv48pp/3KZGJf/oGr8/HYeTF bEe6QdWIPCa79q2UrKozFVW5VynPd1NRPXW+MegcD+VK+5iqaap5XaQxMYXCaoh+Gi3a 4w5R+hxaBK5yhU3716UCM94KHtzRLqOtO9IUdPa2qTGi+Etu7/QRbmxu29nTByNSnB/4 eDBtuwANwMTU3MV4wrlEOjFV9Stfsg0PI7rCIC/YYfJOBxvWcGI8EbY3yu/pNTcMNI+s X0T9qeycYv2owRTPS6ixgoGdYt75SANOh3etp1Gou0phUgL8qIOqySQ6eEddSBUkX6Oo 8Hkw== X-Gm-Message-State: AA+aEWaoQCZwUaC/9jkYB6szYwGf0XnS1B0WJN7jiq+HOsSVrXpVcSm9 SFdW0x30Ve2ANUiLz3u7grmkEA== X-Received: by 2002:a63:fa02:: with SMTP id y2mr28770100pgh.177.1543308390735; Tue, 27 Nov 2018 00:46:30 -0800 (PST) Received: from kshutemo-mobl1.localdomain ([192.55.54.40]) by smtp.gmail.com with ESMTPSA id p6sm3713946pfn.53.2018.11.27.00.46.29 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 27 Nov 2018 00:46:30 -0800 (PST) Received: by kshutemo-mobl1.localdomain (Postfix, from userid 1000) id 725A03003AF; Tue, 27 Nov 2018 11:46:26 +0300 (+03) Date: Tue, 27 Nov 2018 11:46:26 +0300 From: "Kirill A. Shutemov" To: Heiko Carstens Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-mm@kvack.org, Martin Schwidefsky Subject: Re: [PATCH] mm: warn only once if page table misaccounting is detected Message-ID: <20181127084626.a4l65sqqipqukrx7@kshutemo-mobl1> References: <20181127083603.39041-1-heiko.carstens@de.ibm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181127083603.39041-1-heiko.carstens@de.ibm.com> User-Agent: NeoMutt/20180716 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Nov 27, 2018 at 09:36:03AM +0100, Heiko Carstens wrote: > Use pr_alert_once() instead of pr_alert() if page table misaccounting > has been detected. > > If this happens once it is very likely that there will be numerous > other occurrence as well, which would flood dmesg and the console with > hardly any added information. Therefore print the warning only once. > > Cc: Kirill A. Shutemov > Cc: Martin Schwidefsky > Signed-off-by: Heiko Carstens Fair enough. Acked-by: Kirill A. Shutemov -- Kirill A. Shutemov