From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-0.6 required=3.0 tests=DKIM_INVALID,DKIM_SIGNED, HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS autolearn=no autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 246BEC55183 for ; Tue, 21 Apr 2020 14:39:27 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id D9D4F206A2 for ; Tue, 21 Apr 2020 14:39:26 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=fail reason="signature verification failed" (2048-bit key) header.d=cmpxchg-org.20150623.gappssmtp.com header.i=@cmpxchg-org.20150623.gappssmtp.com header.b="gFxehvHG" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D9D4F206A2 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=cmpxchg.org Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 713218E001F; Tue, 21 Apr 2020 10:39:26 -0400 (EDT) Received: by kanga.kvack.org (Postfix, from userid 40) id 6C2DF8E0003; Tue, 21 Apr 2020 10:39:26 -0400 (EDT) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 5D7848E001F; Tue, 21 Apr 2020 10:39:26 -0400 (EDT) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0043.hostedemail.com [216.40.44.43]) by kanga.kvack.org (Postfix) with ESMTP id 432B48E0003 for ; Tue, 21 Apr 2020 10:39:26 -0400 (EDT) Received: from smtpin30.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay03.hostedemail.com (Postfix) with ESMTP id 0AF7A8245578 for ; Tue, 21 Apr 2020 14:39:26 +0000 (UTC) X-FDA: 76732120332.30.bag57_8c8206d5c5e13 X-HE-Tag: bag57_8c8206d5c5e13 X-Filterd-Recvd-Size: 4207 Received: from mail-qv1-f65.google.com (mail-qv1-f65.google.com [209.85.219.65]) by imf28.hostedemail.com (Postfix) with ESMTP for ; Tue, 21 Apr 2020 14:39:25 +0000 (UTC) Received: by mail-qv1-f65.google.com with SMTP id p13so6602402qvt.12 for ; Tue, 21 Apr 2020 07:39:25 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cmpxchg-org.20150623.gappssmtp.com; s=20150623; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to; bh=FUghwdK61ELIcdqNXkNEUPkemM8u8aFA3cSbQm57Oy0=; b=gFxehvHGSNlG++mszljqSCAK7x9JFhjfQndMRxcNzeicsRBEWHLOnuSk7TV/f0lpJS hI40Kn4d4RhA2dhOIjiFgB4c9koyFw954Gi9PeFxAZnTNJx7vt622EPZLNpn9eUYH9le O9pbbJh5hVwKmuS42wfYZ3Y+WPU27d7VfvhPFCoLpJ467jhpzjCYj6m1WrPsIbmBx/Kr 4h/THAUC+GEjA1w+FrC360VuFTaR4mLjUzraOoMvViF56WaYnVAS8b6VWjmlABi86u0L 2yIVk9FFEx1KfLomk93emTZXN5qcyqBBKpgW+00of/GRzhQUA58c3n0SxXHmwIwDoTJh opFQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to; bh=FUghwdK61ELIcdqNXkNEUPkemM8u8aFA3cSbQm57Oy0=; b=Ue9m4fM88bECxZ8E2gzfkVjuy+urhiujfpadHtGcGByq8YBhRJyGIwqMH82sMWt85U NfoLuDnRbJ1+INmQ63lupPJCHXO8EDFB5F3PgywYi7qLE5qceQD4SD5qm3jGIMLbQOC0 lAz9b2pJ/sPGWWu+XfFtnVTYhLVGD2Syt+NPk8HYLS9mcZHZHHXVGeyfg7QEdpofhJs8 FZpwqcLwZeTT62VDobHXBUA0J5EZ0DY6y0lEsH+ORQ9XvIDc0ymCTXApswh828nAYgdg CXGneQ/qtNSwqA4L53o44JBH+IE1dGVMblb1/EYbIVyNodtOhkDPygbf9RmnEM5XGIRE lOgw== X-Gm-Message-State: AGi0PuZkuPnqlervSlXYUYyqo1Vqx3+/+ZSC9By+4Qjiqh9LeNSjg3A0 PJsA8NlA8eHN7yzFCnrp5UowaA== X-Google-Smtp-Source: APiQypInpg4gUIZ3ZyekCXLwMFg9UBr6vB/iUDK8KN7FOJEIEMxL1qkg7RMokE8ry7h8Zwv72b5e1g== X-Received: by 2002:ad4:49d3:: with SMTP id j19mr19534989qvy.78.1587479964857; Tue, 21 Apr 2020 07:39:24 -0700 (PDT) Received: from localhost (70.44.39.90.res-cmts.bus.ptd.net. [70.44.39.90]) by smtp.gmail.com with ESMTPSA id l8sm1864795qtl.86.2020.04.21.07.39.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 21 Apr 2020 07:39:24 -0700 (PDT) Date: Tue, 21 Apr 2020 10:39:23 -0400 From: Johannes Weiner To: Alex Shi Cc: Joonsoo Kim , Shakeel Butt , Hugh Dickins , Michal Hocko , "Kirill A. Shutemov" , Roman Gushchin , linux-mm@kvack.org, cgroups@vger.kernel.org, linux-kernel@vger.kernel.org, kernel-team@fb.com Subject: Re: [PATCH 15/18] mm: memcontrol: make swap tracking an integral part of memory control Message-ID: <20200421143923.GC341682@cmpxchg.org> References: <20200420221126.341272-1-hannes@cmpxchg.org> <20200420221126.341272-16-hannes@cmpxchg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: Content-Transfer-Encoding: quoted-printable 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: Hi Alex, thanks for your quick review so far, I'll add the tags to the patches. On Tue, Apr 21, 2020 at 05:27:30PM +0800, Alex Shi wrote: >=20 >=20 > =E5=9C=A8 2020/4/21 =E4=B8=8A=E5=8D=886:11, Johannes Weiner =E5=86=99=E9= =81=93: > > The swapaccount=3D0 boot option will continue to exist, and it will > > eliminate the page_counter overhead and hide the swap control files, > > but it won't disable swap slot ownership tracking. >=20 > May we add extra explanation for this change to user? and the default > memsw limitations? Can you elaborate what you think is missing and where you would like to see it documented? >From a semantics POV, nothing changes with this patch. The memsw limit defaults to "max", so it doesn't exert any control per default. The only difference is whether we maintain swap records or not.