From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf1-f197.google.com (mail-pf1-f197.google.com [209.85.210.197]) by kanga.kvack.org (Postfix) with ESMTP id 558676B46EA for ; Tue, 27 Nov 2018 03:46:32 -0500 (EST) Received: by mail-pf1-f197.google.com with SMTP id 74so13502277pfk.12 for ; Tue, 27 Nov 2018 00:46:32 -0800 (PST) Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id a5sor3902517pgk.84.2018.11.27.00.46.31 for (Google Transport Security); Tue, 27 Nov 2018 00:46:31 -0800 (PST) Date: Tue, 27 Nov 2018 11:46:26 +0300 From: "Kirill A. Shutemov" 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> Sender: owner-linux-mm@kvack.org List-ID: To: Heiko Carstens Cc: Andrew Morton , linux-kernel@vger.kernel.org, linux-s390@vger.kernel.org, linux-mm@kvack.org, Martin Schwidefsky 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