Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp511780imm; Fri, 15 Jun 2018 01:28:13 -0700 (PDT) X-Google-Smtp-Source: ADUXVKLrNc0jJ8tN+O93QiNkFsfXBbHzuo6GwqUlA/Yva1EtIqO8sJZnw770wpV3rQLgkZDtn2CB X-Received: by 2002:a17:902:b48f:: with SMTP id y15-v6mr871431plr.261.1529051293170; Fri, 15 Jun 2018 01:28:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1529051293; cv=none; d=google.com; s=arc-20160816; b=eZej21RO626htyd28yE5H3AOKIew2JuZDCLl4Nuzx+Mtuk7WPCpMLd51CVHX7r06Tu dKkKv82Rlm2+XMzAuSMQ58RZaiNZE6teGPo8USorc/OFpt+ZdvMnh98iMi0mxX13POz+ BJ5et9jITyBvpyPKD40MG/ZbDu0WlP8z18ajqfgqb3k+lmyDiU8fbtve50ppZD2UJgyk 0/Pi7SkBfIFCtA3xONWoKAEjTnwn6NvxDKSFnd9vaI/RpbL/56v5XZ1Ju2vRToyPI1zJ 87+GP/GMatxw730cc1Lbd9bsNeYNT/OsWz++BpIpdld5IzO0EUUSCWYbvKaNiev4TaYC 70nA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:user-agent:references :message-id:in-reply-to:subject:cc:to:from:date :arc-authentication-results; bh=nliEAfUL9R94dJwr2LV4+pXuMF13e1I/1Nc3R7byEsI=; b=mdf6aQ73G8bJ97FWrEeMghBa5ZN3HOS55g32kgaFEde99Ae/G978a1e9TJgKzOreW6 lFS9shcJr+NFgxtSncSOTl/g7WejBLUzTsBFquK+1z3pIYPsMxDFBlEermKG8YfJQAmC nqvqTGVBwCtC9a5+kJKQP89HgvYVdJL1zONzYIbTbBT1k4fHwC6+UyrULX3gHKC2F1LY RKRtFpl4hzqr8prnuZ2m/sUjpj/6egHspJwmNQr8Mp6/C/0KbrY0K7I2eSxs9R+IogOU wSD6TzL6WGXXgNrcscJ1ae5tiitGQ+IQ4JY3U3nL6b5PfLnZ32GTXYGCSctjHiZyr9ua 72ag== 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 q17-v6si7064722pff.173.2018.06.15.01.27.57; Fri, 15 Jun 2018 01:28:13 -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 S1755986AbeFOI1d (ORCPT + 99 others); Fri, 15 Jun 2018 04:27:33 -0400 Received: from Galois.linutronix.de ([146.0.238.70]:49377 "EHLO Galois.linutronix.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755847AbeFOI1c (ORCPT ); Fri, 15 Jun 2018 04:27:32 -0400 Received: from hsi-kbw-5-158-153-52.hsi19.kabel-badenwuerttemberg.de ([5.158.153.52] helo=nanos.tec.linutronix.de) by Galois.linutronix.de with esmtpsa (TLS1.2:DHE_RSA_AES_256_CBC_SHA256:256) (Exim 4.80) (envelope-from ) id 1fTk4q-0004dN-G5; Fri, 15 Jun 2018 10:27:24 +0200 Date: Fri, 15 Jun 2018 10:27:21 +0200 (CEST) From: Thomas Gleixner To: =?ISO-8859-15?Q?Daniel_D=EDaz?= cc: x86@kernel.org, anders.roxell@linaro.org, Ingo Molnar , "H. Peter Anvin" , Josh Poimboeuf , Krzysztof Kozlowski , "open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)" Subject: Re: [PATCH 1/2] x86: x86_64_defconfig: Enable KSM. In-Reply-To: <1529016629-2948-1-git-send-email-daniel.diaz@linaro.org> Message-ID: References: <1529016629-2948-1-git-send-email-daniel.diaz@linaro.org> User-Agent: Alpine 2.21 (DEB 202 2017-01-01) MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="8323329-1187883524-1529051244=:2079" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. --8323329-1187883524-1529051244=:2079 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT On Thu, 14 Jun 2018, Daniel Díaz wrote: > 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 We all know that, but the above does not make an argument WHY this needs to be enabled in defconfig. Thanks, tglx --8323329-1187883524-1529051244=:2079--