Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp6849274imu; Mon, 3 Dec 2018 03:58:48 -0800 (PST) X-Google-Smtp-Source: AFSGD/XrfC0QpQXETAFws/Fm4G2kJX7x0wewH4BLqPxbfKQZK/Xozm8bbVF3Ks7lqSaiPJonRKWG X-Received: by 2002:a62:69c4:: with SMTP id e187mr15718402pfc.50.1543838328469; Mon, 03 Dec 2018 03:58:48 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1543838328; cv=none; d=google.com; s=arc-20160816; b=rxbvw/ABJXJLVnozfENxr92iv8y/4KQfu+IsuQYEnzNbhR1Cz2rPhJZkRuXf9BQJyR T9p/EqSEQypk5ye+XDtFMkThAZrRGrWZD2kcxpi/rHnb3PQHRHxhqOlybed8pBpew5RQ eTtum2Lq+RovLy8CLqFVFYKdwXd3J4D6+1LSYglXfwFGtJJkUS7qGBjJCSf5AD6tYrga P7ycbwXG50qZcYPnuh2x8C3Qg36r1EdYVllKxXIDXhd2oXJLiD0M4wxa84YDPL55OcL0 ghU/xOfBMiMSuIvjdt6YHSRqUIyk8dPb69/rydHcx0RMYoC+YioHEu4F5aM983oHYmDZ 1uuA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=tSu3H+T6Sr3eIJOLETnx4HI398ZTr3VhYhL+gReP5BA=; b=guKAE1j+eJyYyc4lRKFVwekdSYWGlRs39UMZu5JxUcg5R+gSyvQ+7LCLhJBJBBeIf6 0kavEfus+V3lcNBB2YFOdx4mH255upEGAaPp3LHIuNJyvp+Fv6Z3wniXWXcr5p1/Oknd /XBLLU0wgw4nQ2pq2Zi2dQ2MOsEZQEEViDx+dElEhKiGE31O8qNwUtxt2nILkw2irqoi t9WElJmhYIq4CKdAwJIFE03HZvyCdhtHrb3kMftZJbFf+tlwa8lOpPqPTUkzuctc5KWt vLDXh3znDi6QYsfSoSMbaknL9VHdf3aGwWO2xWUBCCPQwRBFvnBUCJE0y5TLjRW/yU2y vgTA== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 127si15358282pfg.173.2018.12.03.03.58.33; Mon, 03 Dec 2018 03:58:48 -0800 (PST) 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726407AbeLCL6W (ORCPT + 99 others); Mon, 3 Dec 2018 06:58:22 -0500 Received: from mx2.suse.de ([195.135.220.15]:60240 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1725975AbeLCL6W (ORCPT ); Mon, 3 Dec 2018 06:58:22 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 79E4EAC66; Mon, 3 Dec 2018 11:57:36 +0000 (UTC) Date: Mon, 3 Dec 2018 12:57:36 +0100 From: Michal Hocko To: Xunlei Pang Cc: Roman Gushchin , Johannes Weiner , linux-kernel@vger.kernel.org, linux-mm@kvack.org Subject: Re: [PATCH 3/3] mm/memcg: Avoid reclaiming below hard protection Message-ID: <20181203115736.GQ31738@dhcp22.suse.cz> References: <20181203080119.18989-1-xlpang@linux.alibaba.com> <20181203080119.18989-3-xlpang@linux.alibaba.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181203080119.18989-3-xlpang@linux.alibaba.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon 03-12-18 16:01:19, Xunlei Pang wrote: > When memcgs get reclaimed after its usage exceeds min, some > usages below the min may also be reclaimed in the current > implementation, the amount is considerably large during kswapd > reclaim according to my ftrace results. And here again. Describe the setup and the behavior please? -- Michal Hocko SUSE Labs