Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp7649701ybi; Wed, 5 Jun 2019 22:30:56 -0700 (PDT) X-Google-Smtp-Source: APXvYqx3BUt0EZTgqFM3Mc4CeFabWMvjsDCVcgn0TzmqPkKBPtprR0B0+MK06RFWM730hDOBq1Ju X-Received: by 2002:a17:90a:1b48:: with SMTP id q66mr1953978pjq.83.1559799056617; Wed, 05 Jun 2019 22:30:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1559799056; cv=none; d=google.com; s=arc-20160816; b=u0BQtZ6rg55ZhBaT8OQhb4MZf6PAiOebhDyRPQGsg/fvos3P73gUUDskILRkvJRnpY blSGwm+et9BtiNU2zDjXbW7omRyIJPV+7II9ZR+lO3Fic+cnLRmyuLQ2VAPj7G66ADcO m7D9nsS9onO+1CEPzxef1VXYdQt3QGfjwBJQIvHyzEkNB7MQ89cKFQRt0AP/JlMIqJ7r 3pFMaWIs+M7Wgo9m0W/xWc8UQ1ZkKCmZOL+nseVVorYPT32GweigVmC9qdrK/KdgC0El rwjn3ikbV/IXyNry5ibHJmPWpDWwdxyiXDd/q+SDkgAfN5jki4HVwU06r9HsQGek2nPf ZlXQ== 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=vMdPr89fQQtJkYwfZPFoj8Cdml2y0bBUTTu2jKv+xHU=; b=QZjHNxp85XlKfk56KTcGc2JB+kO3ybq2S+HU5yzsWNsuIWVEECzuG3wdyp+Gw+xfLV RCfb5CfuzmEBwk6qc+UaZYSnJYc3ed+DCrgv51RymmafKxPvLu9bDqw4GLI6ZhshvRHp vIBl5yWv2X4mj/uL6oEvvui8mrRTD58GPoYL/QLe+bWT85AlsEtF7Y5qXWx/hC9UQoZK R3ytNkKEdHuVtXtgpMv0ula1w55d2LXK/48i1siBsA6hSXXTB2m8aMelHaER19GZCFaM iMAv6HZLKLZQehls98y8PwD/0PjK2Ww262LLQzRITudOrKCvqBZHLJFOWeGe1WoYI5Ou rMiw== 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 l8si826752pff.166.2019.06.05.22.30.39; Wed, 05 Jun 2019 22:30:56 -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=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726173AbfFFF3g (ORCPT + 99 others); Thu, 6 Jun 2019 01:29:36 -0400 Received: from mx2.suse.de ([195.135.220.15]:33424 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726014AbfFFF3g (ORCPT ); Thu, 6 Jun 2019 01:29:36 -0400 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 D4851AE04; Thu, 6 Jun 2019 05:29:34 +0000 (UTC) Date: Thu, 6 Jun 2019 07:29:33 +0200 From: Michal Hocko To: Bharath Vedartham Cc: akpm@linux-foundation.org, vbabka@suse.cz, rientjes@google.com, khalid.aziz@oracle.com, linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] mm: Remove VM_BUG_ON in __alloc_pages_node Message-ID: <20190606052933.GA8575@dhcp22.suse.cz> References: <20190605060229.GA9468@bharath12345-Inspiron-5559> <20190605070312.GB15685@dhcp22.suse.cz> <20190605130727.GA25529@bharath12345-Inspiron-5559> <20190605142246.GH15685@dhcp22.suse.cz> <20190605155501.GA5786@bharath12345-Inspiron-5559> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20190605155501.GA5786@bharath12345-Inspiron-5559> 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 Wed 05-06-19 21:25:01, Bharath Vedartham wrote: > IMO the reason why a lot of failures must not have occured in the past > might be because the programs which use it use stuff like cpu_to_node or > have checks for nid. > If one day we do get a program which passes an invalid node id without > VM_BUG_ON enabled, it might get weird. It will blow up on a NULL NODE_DATA and it will be quite obvious what that was so I wouldn't lose any sleep over that. I do not think we have any directly user controlable way to provide a completely ad-hoc numa node for an allocation. -- Michal Hocko SUSE Labs