From patchwork Thu Jun 14 22:50:27 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Daniel_D=C3=ADaz?= X-Patchwork-Id: 10465427 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id A07DA600D0 for ; Thu, 14 Jun 2018 22:52:49 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 88F6F28C74 for ; Thu, 14 Jun 2018 22:52:49 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 7DB7F28C77; Thu, 14 Jun 2018 22:52:49 +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,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 2FF8F28C74 for ; Thu, 14 Jun 2018 22:52:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To: Message-Id:Date:Subject:To:From:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=Y23cZezVfC4nSaYKWvJicZn0B/sgh3E6LAvzEo74qVA=; b=XIjBmOBhXpvPIa qJqWRI2Asb/fWVjYa4tcyynCuqmKcQ+uwK2jWAulFrAwKRCg8HjzFGWivO1irvz4dbXH8dPbi0O2w FUg6VpZSZqwLjRs1QABCfEI+2vrtGBPM0t8HLfPe2V0XAn1lAzMH3QNsMrdhhi8nCn1bNgQPvo2ua X/Pif5ZU3lKuyAzkLqTp/Gj2bP4SA8uR/9b3655aHEg/C2r53rifcMYG7LT8ddQ0hrh24b2wlG3OB HoLdx/OETX2bLZHGGBuhya8HZczy8doVxUhVdow9mp9+UEgdaydLGX3GQi+DT4k/NdrqHN+4++c38 MgKZeR+ST+ukBZowDX9Q==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTb6k-0001vp-09; Thu, 14 Jun 2018 22:52:46 +0000 Received: from mail-ot0-x242.google.com ([2607:f8b0:4003:c0f::242]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1fTb6f-0001tH-Vf for linux-arm-kernel@lists.infradead.org; Thu, 14 Jun 2018 22:52:43 +0000 Received: by mail-ot0-x242.google.com with SMTP id p95-v6so8997684ota.5 for ; Thu, 14 Jun 2018 15:52:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=Ztr1SvESHr1XzY+6q41GxTJGHsuiBzX3nQVyt/cQyEo=; b=VbOxeVFgTDWuOn9ZR7YasQxgNovqW1nwFc1mwnmuKhXhjnqB0P6x8HNSUqziJ2AVlS jzq2IGdAHKUtTFFfA4ydEdkt8WXDrhl1SFDJN6g8aBpD0ZknCRNrY2DmtNYldU2TPquV BrbKI1C5W2CgIF+tBUM2KMYMPS/KHiOvOneh0= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=Ztr1SvESHr1XzY+6q41GxTJGHsuiBzX3nQVyt/cQyEo=; b=VX7K/GH/l5aMcDNtAloIUsG4nnnU0RXsAWEd8D4O1uXzUfDVT8uFJQVEEF6rleB1Nk lZ4yic2j/gvvbOw/PW4Ec3LHiZXAyJijxf5xj94NMqxGODYabmG6mvKroznBdlBh26Qi iQlGprXc1wPvGQtpp5uRj9u7Yjddrfc93kH8oF76aGv0ppriEc8Cg/FAB8pdIB6btnEu 1TdWX+VV/GocMxeoYX/GvqmtBSuPPp0Z78SLNEvBaQW9qXyeDd4sgOticobkk4CIGUzg agpJFdEtSNGSgiU5OAbbHGSvwVpNm8Db+L46dL+AaeWAJsHNiXziLzoo13DF5CWfX92g byFw== X-Gm-Message-State: APt69E1K2c4NpwXOr2at5d+mjAKFjgY4bQMsycgY4ePcNGz/cIoFAviq aOTNhMrq8XIz6CZ/ftKVI8D8F7yFfpwAJA== X-Google-Smtp-Source: ADUXVKI8cM3D1nJARYY1ng5LS/0Ylf91AR0tUyplRU4zdNzTbCUqTfpQ1i+IxcVG666wut+Yu96MWg== X-Received: by 2002:a9d:5c84:: with SMTP id a4-v6mr369878oti.301.1529016749590; Thu, 14 Jun 2018 15:52:29 -0700 (PDT) Received: from aura.cortijodelrio.net (CableLink-187-161-191-185.PCs.InterCable.net. [187.161.191.185]) by smtp.googlemail.com with ESMTPSA id w5-v6sm2778982otg.5.2018.06.14.15.52.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Thu, 14 Jun 2018 15:52:28 -0700 (PDT) From: =?UTF-8?q?Daniel=20D=C3=ADaz?= To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 2/2] arm: multi_v7_defconfig: Enable KSM. Date: Thu, 14 Jun 2018 17:50:27 -0500 Message-Id: <1529016629-2948-2-git-send-email-daniel.diaz@linaro.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1529016629-2948-1-git-send-email-daniel.diaz@linaro.org> References: <1529016629-2948-1-git-send-email-daniel.diaz@linaro.org> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20180614_155242_021143_3E076B97 X-CRM114-Status: GOOD ( 14.34 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: =?UTF-8?q?Daniel=20D=C3=ADaz?= , anders.roxell@linaro.org, Geert Uytterhoeven , Arnd Bergmann , Tony Lindgren , open list , Russell King , Stefan Agner , Kishon Vijay Abraham I , Eric Anholt , Krzysztof Kozlowski , Marc Zyngier , Simon Horman , Maxime Ripard , Martin Blumenstingl , Marek Szyprowski Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP As per the documentation, Kernel Samepage Merging (available since 2.6.32) is a memory-saving de-duplication feature, enabled by CONFIG_KSM=y and activated via sysfs. More information can be found here: https://www.kernel.org/doc/Documentation/vm/ksm.txt When enabled in the kernel, the default is to not do anything at all, until it is activated at run-time with: echo 1 > /sys/kernel/mm/ksm/run Signed-off-by: Daniel Díaz --- arch/arm/configs/multi_v7_defconfig | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/configs/multi_v7_defconfig b/arch/arm/configs/multi_v7_defconfig index 7e1c543..79eedf4d 100644 --- a/arch/arm/configs/multi_v7_defconfig +++ b/arch/arm/configs/multi_v7_defconfig @@ -133,6 +133,7 @@ CONFIG_SMP=y CONFIG_NR_CPUS=16 CONFIG_HIGHPTE=y CONFIG_CMA=y +CONFIG_KSM=y CONFIG_SECCOMP=y CONFIG_ARM_APPENDED_DTB=y CONFIG_ARM_ATAG_DTB_COMPAT=y