Received: by 2002:a5b:505:0:0:0:0:0 with SMTP id o5csp5280809ybp; Mon, 14 Oct 2019 19:14:52 -0700 (PDT) X-Google-Smtp-Source: APXvYqxHk+2hi6ctc55Bb0VqgylsavCLVdcc3bj6ujRyXtb73dKP2pYIkMaoRMzRiCa5XsgV+8Uy X-Received: by 2002:a05:6402:17f1:: with SMTP id t17mr30653939edy.11.1571105692354; Mon, 14 Oct 2019 19:14:52 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1571105692; cv=none; d=google.com; s=arc-20160816; b=qWQNvqRzjyA5gGK7HXVb+0BuXu49PKD3HMWiScJwr27D7F/h3dNQV7gxNtp39QY3Ra 0mL7GLJjOVXX6HzM1BBYKCGeArvOQdBkgWBfleu7CruAYEWsbI0UFxarfX292AH+jdph yzDaS5DKb6AM56fld/AEPH20RorA26v8Q6irFNfx3bR5twaRSCPtCNPEbgL8jx+R7AfB YnGGkAM3uG8uHyEbeGj+W4jBmFd39yULdJdCy1WZRg1tuj1UpEvujcRKK6Co5ZvuFsH2 p8MEf6XY0tGMou+sGxJa1vhrNhT3cys/nB320m2lYYIrXIGc3WBU6GoT81KKwSAUvl5L mxsA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:message-id:date:subject:cc:to:from; bh=0GCaZJoGfIHUxxLTJhivJv67EzxJAbGX50fQ9vRiaMc=; b=Aq+ubjfU/kYhftne7ArX/QPse8Tj4tMzatPefeou7uszztuNzzSFH+4UI6r88blguU sMS7gPa4cDHZEIgF/eclf6xDcYJMwWToKCtwKOy1DFFWiBLubeOWqOVhnuyc4B0jNsD2 8Y7XR7gcB3mDhnlxyycAAY+fg2tO2BlXU82RiS/ljkmoqkzH1Rg4Wf3rWiOtKSPw/G+Q 7K7505i9S0DXkSV01RNBQ2Wz9z8CpL4r+9fvc/AXS2SrlXK6AO5PHwf407sQYvXKhTOw 08MqamoXpQsBgKl0uMoFtgEVrQk6oUk3gTeZpjimi2PDqh+/pREnrFD74v0XVwJG/q+c eliA== ARC-Authentication-Results: i=1; mx.google.com; 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 h17si11873304ejt.173.2019.10.14.19.14.28; Mon, 14 Oct 2019 19:14:52 -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; 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 S1727297AbfJOBHw (ORCPT + 99 others); Mon, 14 Oct 2019 21:07:52 -0400 Received: from mail.loongson.cn ([114.242.206.163]:39844 "EHLO mail.loongson.cn" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727250AbfJOBHv (ORCPT ); Mon, 14 Oct 2019 21:07:51 -0400 Received: from linux.loongson.cn (unknown [10.20.41.27]) by mail (Coremail) with SMTP id QMiowPDxr2PeG6Vd9scQAA--.3S2; Tue, 15 Oct 2019 09:07:42 +0800 (CST) From: Tiezhu Yang To: paul.burton@mips.com, ralf@linux-mips.org, jhogan@kernel.org, chenhc@lemote.com Cc: linux-mips@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] MIPS: Loongson: Make default kernel log buffer size as 128KB for Loongson3 Date: Tue, 15 Oct 2019 09:07:36 +0800 Message-Id: <1571101656-871-1-git-send-email-yangtiezhu@loongson.cn> X-Mailer: git-send-email 2.1.0 X-CM-TRANSID: QMiowPDxr2PeG6Vd9scQAA--.3S2 X-Coremail-Antispam: 1UD129KBjvdXoWrZr1rXF45Ar4rtr1kury5twb_yoWftFc_J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.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org When I update kernel with loongson3_defconfig based on the Loongson 3A3000 platform, then using dmesg command to show kernel ring buffer, the initial kernel messages have disappeared due to the log buffer is too small, it is better to change the default kernel log buffer size from 16KB to 128KB. Signed-off-by: Tiezhu Yang --- arch/mips/configs/loongson3_defconfig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/mips/configs/loongson3_defconfig b/arch/mips/configs/loongson3_defconfig index 90ee008..3aa2201 100644 --- a/arch/mips/configs/loongson3_defconfig +++ b/arch/mips/configs/loongson3_defconfig @@ -12,7 +12,7 @@ CONFIG_TASKSTATS=y CONFIG_TASK_DELAY_ACCT=y CONFIG_TASK_XACCT=y CONFIG_TASK_IO_ACCOUNTING=y -CONFIG_LOG_BUF_SHIFT=14 +CONFIG_LOG_BUF_SHIFT=17 CONFIG_MEMCG=y CONFIG_MEMCG_SWAP=y CONFIG_BLK_CGROUP=y -- 2.1.0