From patchwork Tue Dec 18 16:23:07 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Michal Hocko X-Patchwork-Id: 10735991 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id DA6DF924 for ; Tue, 18 Dec 2018 16:23:19 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id CA3AA2A9E0 for ; Tue, 18 Dec 2018 16:23:19 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id BE0E22A9F8; Tue, 18 Dec 2018 16:23:19 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-2.9 required=2.0 tests=BAYES_00,MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham version=3.3.1 Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 584222A9E0 for ; Tue, 18 Dec 2018 16:23:19 +0000 (UTC) Received: by kanga.kvack.org (Postfix) id 702B48E000A; Tue, 18 Dec 2018 11:23:18 -0500 (EST) Delivered-To: linux-mm-outgoing@kvack.org Received: by kanga.kvack.org (Postfix, from userid 40) id 6B2458E0001; Tue, 18 Dec 2018 11:23:18 -0500 (EST) X-Original-To: int-list-linux-mm@kvack.org X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 57B0F8E000A; Tue, 18 Dec 2018 11:23:18 -0500 (EST) X-Original-To: linux-mm@kvack.org X-Delivered-To: linux-mm@kvack.org Received: from mail-ed1-f71.google.com (mail-ed1-f71.google.com [209.85.208.71]) by kanga.kvack.org (Postfix) with ESMTP id 023648E0001 for ; Tue, 18 Dec 2018 11:23:18 -0500 (EST) Received: by mail-ed1-f71.google.com with SMTP id z10so13089124edz.15 for ; Tue, 18 Dec 2018 08:23:17 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-original-authentication-results:x-gm-message-state:from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; bh=0g1/EcXrWfzlu6dFXFwPJ34Xnq9GCNFuM6Gf8l29vM8=; b=ZfB1avNTr9zo9xW/1DHNnq0PWbhWearLt326ELVJuIVAoGgLHkofbzieUHzasuOgFG MNd7NpVUhXw/IhSOqRP18QHZIKb/3t+1RONa9nGKJaHQc0lpTIlLjROL8h7pzcVauxef ApS8xWitnH3SPvOA16eCmpmV9iYEUeTxYc3K7ujo3dhJqvDZe91R/Lie5yzYt8Fk3boc rt1YYMtFajcJTPYwLtuNQ7Pez5uOu9BtE7vg/vThrv/KoAIvGcno8AnXQsbl6h7529sj 2EGUvBK6VVZhjbln4F8s1+OdVRxivGNVVL+hkK37mDtb+FEqXJTyk29rTEhA+ekh4iU3 oQPA== X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of mstsxfx@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=mstsxfx@gmail.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Gm-Message-State: AA+aEWYiPPPFgPiaLpzwjmWszqr/vfnE6pGT/j4EN1yw3i15wrT710kN qCeb7mPFlNXbq/9jZk28xvrJgS7rtw9oqFjYjIu/02JuixpA86JMQENgIzKz8XLpxIRz86p3zuP YUZ+oR6WLVZJdgL7Fq4OnBp3IYvM7shZqnQL52puPZ1iUSMxO7cUk72YQ7FNhi02NWGXTxiLefE mVnaUhLC+0Ex1ym4YkgfvUbrJdtUPyUWk+7+BU4WZDXcq8oK+14N6rXdG2P9y+LCcrsQg8PKPrZ VbwxRMI15YuPQcdZXi4ldNQl6An2ixcxdMr8UUD1wWT/oTr5fg6NtIqtZ5f9N1ReyJBxE6lbv8o aS0eoDYkF3W2y3DBbzCrIyLBuZfE8iaeJf4IRFVtOYVpy08NuF/6V5nALSlYbk9O/jrjhuU9uA= = X-Received: by 2002:a50:a086:: with SMTP id 6mr4589280edo.88.1545150197506; Tue, 18 Dec 2018 08:23:17 -0800 (PST) X-Received: by 2002:a50:a086:: with SMTP id 6mr4589228edo.88.1545150196463; Tue, 18 Dec 2018 08:23:16 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1545150196; cv=none; d=google.com; s=arc-20160816; b=q9IpIeQt93JZIOAGLtxdcvpdddJcYwdDo1ByCU9osfs75Z4PTmlAXatppdzB7dRBzY +CbOC8ADLvgKprkgn1gwzm+9h2ZwajQlSc145FmqL7cWVGQAaDcRY2FcfkyEYl2041TF Wd93j9vL5IYtVyS0o+pkDCSmfc30CLFdKkJlqTBk/Y2uFxscLZtwI6cXAy6AfoJncqYU pS38MhqhmIPsDbkXTW5gWZfn3YGrDdExD7V+kAMNrWiXTsSBGlAYQSF1fau11M61V1dY OLM8lRp9TIQgRmmHkVHeD1kEB5X/pbZFdmD90o6qPQFC6UoG2fV0IA6Zce26qcbDuPBu KhkQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from; bh=0g1/EcXrWfzlu6dFXFwPJ34Xnq9GCNFuM6Gf8l29vM8=; b=dAcY26DxUhUk3QK56FKRbrTztFIhvEzB4Pmt7Y4w4w6dnYQwb22xmrRyKmGfcNRU8Q /F7EciA1Y731h1o74ylp5FmUegXSKK12GaoeiuaUxfSWo7OOXDpRNZr2KmNwDKUvYubM 61chXGgOcpNldS4nYrh5w39Lq6cqiJv7tabH7i4Gor6doPiIC5VhHLT+rbHnaO8VpY1O p7xwZLLNeR6CQd3ln7xcega3iZBWY8jFne/DtQnv6JKkurFLhFggsZUNQ8Hm4L++4cwO xlGotNsrNLlVXXRkRF9XGZ7zdIShZduZgcs4KhOzSnYgxtEzpjFSflcR3ZADDRd7tfFc DU4A== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of mstsxfx@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=mstsxfx@gmail.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: from mail-sor-f65.google.com (mail-sor-f65.google.com. [209.85.220.65]) by mx.google.com with SMTPS id s23-v6sor4123022eju.43.2018.12.18.08.23.16 for (Google Transport Security); Tue, 18 Dec 2018 08:23:16 -0800 (PST) Received-SPF: pass (google.com: domain of mstsxfx@gmail.com designates 209.85.220.65 as permitted sender) client-ip=209.85.220.65; Authentication-Results: mx.google.com; spf=pass (google.com: domain of mstsxfx@gmail.com designates 209.85.220.65 as permitted sender) smtp.mailfrom=mstsxfx@gmail.com; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org X-Google-Smtp-Source: AFSGD/WAq5W/NHTYo0B6lpL85g4a8J17Ly8mkDX9Xth6mbUyWUuuJVuOErAEWChrEC/mwsWwvdFu7Q== X-Received: by 2002:a17:906:a301:: with SMTP id j1-v6mr13505963ejz.188.1545150196012; Tue, 18 Dec 2018 08:23:16 -0800 (PST) Received: from tiehlicka.suse.cz (prg-ext-pat.suse.com. [213.151.95.130]) by smtp.gmail.com with ESMTPSA id q16sm4538203eds.60.2018.12.18.08.23.14 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 18 Dec 2018 08:23:15 -0800 (PST) From: Michal Hocko To: Andrew Morton Cc: Pavel Tatashin , , LKML , Michal Hocko Subject: [PATCH] memory_hotplug: add missing newlines to debugging output Date: Tue, 18 Dec 2018 17:23:07 +0100 Message-Id: <20181218162307.10518-1-mhocko@kernel.org> X-Mailer: git-send-email 2.19.2 MIME-Version: 1.0 X-Bogosity: Ham, tests=bogofilter, spamicity=0.000000, version=1.2.4 Sender: owner-linux-mm@kvack.org Precedence: bulk X-Loop: owner-majordomo@kvack.org List-ID: X-Virus-Scanned: ClamAV using ClamSMTP From: Michal Hocko pages_correctly_probed is missing new lines which means that the line is not printed rightaway but it rather waits for additional printks. Add \n to all three messages in pages_correctly_probed. Fixes: b77eab7079d9 ("mm/memory_hotplug: optimize probe routine") Signed-off-by: Michal Hocko Reviewed-by: Oscar Salvador Reviewed-by: Wei Yang --- drivers/base/memory.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/drivers/base/memory.c b/drivers/base/memory.c index 0e5985682642..b5ff45ab7967 100644 --- a/drivers/base/memory.c +++ b/drivers/base/memory.c @@ -207,15 +207,15 @@ static bool pages_correctly_probed(unsigned long start_pfn) return false; if (!present_section_nr(section_nr)) { - pr_warn("section %ld pfn[%lx, %lx) not present", + pr_warn("section %ld pfn[%lx, %lx) not present\n", section_nr, pfn, pfn + PAGES_PER_SECTION); return false; } else if (!valid_section_nr(section_nr)) { - pr_warn("section %ld pfn[%lx, %lx) no valid memmap", + pr_warn("section %ld pfn[%lx, %lx) no valid memmap\n", section_nr, pfn, pfn + PAGES_PER_SECTION); return false; } else if (online_section_nr(section_nr)) { - pr_warn("section %ld pfn[%lx, %lx) is already online", + pr_warn("section %ld pfn[%lx, %lx) is already online\n", section_nr, pfn, pfn + PAGES_PER_SECTION); return false; }