Received: by 2002:a05:6a10:8c0a:0:0:0:0 with SMTP id go10csp6294587pxb; Wed, 17 Feb 2021 00:06:43 -0800 (PST) X-Google-Smtp-Source: ABdhPJya2HYQE4n2k5SC2zMO3tqRqzqwEFVWwHu/sillrwqVOdchGNCrqalIT59vtUcueKGhv3iB X-Received: by 2002:a05:6402:1152:: with SMTP id g18mr25459939edw.18.1613549203602; Wed, 17 Feb 2021 00:06:43 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1613549203; cv=none; d=google.com; s=arc-20160816; b=uktnORsqy6DiBVfJ2nyAQfdL8SmZX7dxqqFcE8mvchJbKvPTUyGI2y+JOxA4BA6L0X owXox2fScfW196W08Auo1Ho64hxYxulWYXcLlR05JwKLix7JukXOfvqxkBPs2Is4KzZ9 hrMbSCz9nwPynPo+UJ5HF/LU0DW3z1Re1Y9GAbSmrOza0QvzM0vt58BVSwbn4vv8jydx gQ8jfJ3tqSipo0Do5ERxW2zBza7HXn4S3Xbz1XW7LuVruiq7u2WcJ3CFR15T6XPOA0Ka 0wCyyeuJvXL+TWyNMXDOHYhV1AnINkXGTERG+1hRS7imaONz4jyZmrRJOGx6OdbGRCz1 wLyQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=cgmC7AaJ6yBPNg2oaCmQrFfiwgvCyyz07hRRATeOpLs=; b=NJZAjsyfEj5Sw3MjIOR7KLiRHQ3T6CgKVgnqZId5NpVNLvn2W1Emni0UO7Xh1ALzh1 EVaDtJsqTLGL5U8kQkIflPonyeB2e9FISn5Nuyppgj1jkheiKxgRo9AuXyfVRbQa/+KI 0UpWJRslt2pKN4b5zqMhtrJnB1W1l376+vpxe4gs7aB6VuxiCiZHxwKH12gIZnyp4++Y dxPuKEG3xcBgYVyYRYnI6dLKrGzva9pyHJLXkWEczHcOpRKiR06beqbP7iScS2icAi9u Rzlo5AlsZT4xINDyDCM6Myg9a5GCsbkEq4RY4+6yny7P/xVFa+I5nKQx2Ti9AZdPGsqW I1TA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=To0WYKyS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id k4si798936edq.49.2021.02.17.00.06.21; Wed, 17 Feb 2021 00:06:43 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@suse.com header.s=susede1 header.b=To0WYKyS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=QUARANTINE sp=NONE dis=NONE) header.from=suse.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231542AbhBQH6F (ORCPT + 99 others); Wed, 17 Feb 2021 02:58:05 -0500 Received: from mx2.suse.de ([195.135.220.15]:48850 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230145AbhBQH55 (ORCPT ); Wed, 17 Feb 2021 02:57:57 -0500 X-Virus-Scanned: by amavisd-new at test-mx.suse.de DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=suse.com; s=susede1; t=1613548631; h=from:from:reply-to:date:date:message-id:message-id:to:to:cc:cc: mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=cgmC7AaJ6yBPNg2oaCmQrFfiwgvCyyz07hRRATeOpLs=; b=To0WYKySQSp7O/XtbTiAzCmtGN5p62m1ojqofnnGbN7v8Fw7rVkBXzJl0T62ClkSmbVRov A6U4BBcabffv/szw+FagGMLxu/33iWy//1Frfu+EKHUWTHQ37MvnbQBbFdCnNqARGJx6JZ r7t4qd5VXzwTCqzFvzaRWe/8guyZ1Y4= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 016E6AFF1; Wed, 17 Feb 2021 07:57:11 +0000 (UTC) Date: Wed, 17 Feb 2021 08:57:09 +0100 From: Michal Hocko To: Mike Kravetz Cc: Eiichi Tsukata , corbet@lwn.net, mcgrof@kernel.org, keescook@chromium.org, yzaikin@google.com, akpm@linux-foundation.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mm@kvack.org, linux-fsdevel@vger.kernel.org, felipe.franciosi@nutanix.com Subject: Re: [RFC PATCH] mm, oom: introduce vm.sacrifice_hugepage_on_oom Message-ID: References: <20210216030713.79101-1-eiichi.tsukata@nutanix.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue 16-02-21 14:30:15, Mike Kravetz wrote: [...] > However, this is an 'opt in' feature. So, I would not expect anyone who > carefully plans the size of their hugetlb pool to enable such a feature. > If there is a use case where hugetlb pages are used in a non-essential > application, this might be of use. I would really like to hear about the specific usecase. Because it smells more like a misconfiguration. What would be non-essential hugetlb pages? This is not a resource to be pre-allocated just in case, right? -- Michal Hocko SUSE Labs