Received: by 2002:ac0:98c7:0:0:0:0:0 with SMTP id g7-v6csp3226064imd; Mon, 29 Oct 2018 03:57:00 -0700 (PDT) X-Google-Smtp-Source: AJdET5cZmGLhLKZPfSy0LCbb9SSOqHT3sAzq/R2p6tkrB96WrrFOpumSD5sH1A4N1XXbFAociUXH X-Received: by 2002:a63:ce56:: with SMTP id r22-v6mr13162284pgi.217.1540810620191; Mon, 29 Oct 2018 03:57:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1540810620; cv=none; d=google.com; s=arc-20160816; b=nqCFGfZ6+yYrK+P1ax8oSCICppK2l7VlLBLxQqbyqHYc53bwKIRsujPdNK8taroS2g laCfkLg0RKbJZF6AmaFTU/zNbbZ/V+sKQeODVFu3JxE+U3qrb4QUhnSlztouPNjVXMI/ UpkR4fDoiFeBk+FH24WdKdCuLfV/raaO+ZDzfuP/4QhaLqObbLaciaLmgDxUWPolR1BH 5mHCO07fZ9oxWEPQmqy4vwvfbo3Hvi5mDoanSMeadxx7QlptLrom6mUryRI96PQysm6t ZfofDgekzEICG3DKSAexar9S4lW1wtse0Jyb4iBgE//QDhj24Jhxlq3nIqFWyfgLUzmZ nzbg== 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=RnTZne5NDv8oMW7R0Lg4koBmX88KAgrs9cl1yC3r1dA=; b=VGe9h2+XHgnoxL/cChglHIN3cJvtppDOkTqmPiVDCNdvcVX1Hzoqaz/86n07rXDSUp zvT4O5lBMFSm923J/nI5nV1h/ffZtgwvMZwJ4w9Yq3QzIpwHGqbLRTGehZxeXRA6RPTL 54eS0TQKC9NVhocJ8EFWaxu4H3je30mK4FYOuYeNpgp39QugOaMmXAdobWm4HouGJ3df QPx8vewa31YChYxOgEM3gJzNkRKJ5PyEXuHqaJP6BUHSlaCVdXWqQ/LfXJqUInhekUqS jWyDuK+HbepnCVZLlFyfHMZJKalKseRtbKs+XerW++BJ4X+deW3q3TX+ne8U7QaNoWNX REUg== 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d7-v6si19178247pgn.441.2018.10.29.03.56.44; Mon, 29 Oct 2018 03:57:00 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726908AbeJ2ToM (ORCPT + 99 others); Mon, 29 Oct 2018 15:44:12 -0400 Received: from mx1.redhat.com ([209.132.183.28]:57790 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725916AbeJ2ToM (ORCPT ); Mon, 29 Oct 2018 15:44:12 -0400 Received: from smtp.corp.redhat.com (int-mx05.intmail.prod.int.phx2.redhat.com [10.5.11.15]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 6BBE23082137; Mon, 29 Oct 2018 10:56:03 +0000 (UTC) Received: from sky.random (ovpn-120-69.rdu2.redhat.com [10.10.120.69]) by smtp.corp.redhat.com (Postfix) with ESMTPS id DB6B25D756; Mon, 29 Oct 2018 10:56:02 +0000 (UTC) Date: Mon, 29 Oct 2018 06:56:01 -0400 From: Andrea Arcangeli To: Michal Hocko Cc: Balbir Singh , Andrew Morton , Mel Gorman , Vlastimil Babka , David Rientjes , Andrea Argangeli , Zi Yan , Stefan Priebe - Profihost AG , "Kirill A. Shutemov" , linux-mm@kvack.org, LKML , Stable tree Subject: Re: [PATCH 1/2] mm: thp: relax __GFP_THISNODE for MADV_HUGEPAGE mappings Message-ID: <20181029105601.GB3823@redhat.com> References: <20180925120326.24392-1-mhocko@kernel.org> <20180925120326.24392-2-mhocko@kernel.org> <20181029051752.GB16399@350D> <20181029090035.GE32673@dhcp22.suse.cz> <20181029094253.GC16399@350D> <20181029100834.GG32673@dhcp22.suse.cz> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20181029100834.GG32673@dhcp22.suse.cz> User-Agent: Mutt/1.10.1 (2018-07-13) X-Scanned-By: MIMEDefang 2.79 on 10.5.11.15 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.42]); Mon, 29 Oct 2018 10:56:03 +0000 (UTC) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, On Mon, Oct 29, 2018 at 11:08:34AM +0100, Michal Hocko wrote: > This seems like a separate issue which should better be debugged. Please > open a new thread describing the problem and the state of the node. Yes, in my view it should be evaluated separately too, because it's overall less concerning: __GFP_THISNODE there can only be set by the root user there. So it has a chance to be legitimate behavior there. Let's focus on solving the __GFP_THISNODE that any user in the system can set (not only root) and cause severe and unexpected swap storms or slowdowns to all other processes run by other users. ls -l /sys/kernel/mm/hugepages/*/nr_hugepages (and boot command line) Thanks, Andrea