Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752249AbcL2Cbf (ORCPT ); Wed, 28 Dec 2016 21:31:35 -0500 Received: from anholt.net ([50.246.234.109]:48848 "EHLO anholt.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752104AbcL2Cbe (ORCPT ); Wed, 28 Dec 2016 21:31:34 -0500 From: Eric Anholt To: linux-mm@kvack.org Cc: linux-kernel@vger.kernel.org, Eric Anholt , linux-stable Subject: [PATCH] mm: Drop "PFNs busy" printk in an expected path. Date: Wed, 28 Dec 2016 18:31:31 -0800 Message-Id: <20161229023131.506-1-eric@anholt.net> X-Mailer: git-send-email 2.11.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 899 Lines: 29 For CMA allocations, we expect to occasionally hit this error path, at which point CMA will retry. Given that, we shouldn't be spamming dmesg about it. The Raspberry Pi graphics driver does frequent CMA allocations, and during regression testing this printk was sometimes occurring 100s of times per second. Signed-off-by: Eric Anholt Cc: linux-stable --- mm/page_alloc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/mm/page_alloc.c b/mm/page_alloc.c index 6de9440e3ae2..bea7204c14a5 100644 --- a/mm/page_alloc.c +++ b/mm/page_alloc.c @@ -7289,8 +7289,6 @@ int alloc_contig_range(unsigned long start, unsigned long end, /* Make sure the range is really isolated. */ if (test_pages_isolated(outer_start, end, false)) { - pr_info("%s: [%lx, %lx) PFNs busy\n", - __func__, outer_start, end); ret = -EBUSY; goto done; } -- 2.11.0