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=-5.8 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,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 4B403C433E0 for ; Wed, 17 Feb 2021 13:59:51 +0000 (UTC) Received: from kanga.kvack.org (kanga.kvack.org [205.233.56.17]) by mail.kernel.org (Postfix) with ESMTP id C807864E0F for ; Wed, 17 Feb 2021 13:59:50 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org C807864E0F Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=suse.com Authentication-Results: mail.kernel.org; spf=pass smtp.mailfrom=owner-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix) id 442526B0006; Wed, 17 Feb 2021 08:59:50 -0500 (EST) Received: by kanga.kvack.org (Postfix, from userid 40) id 3F1DA6B006C; Wed, 17 Feb 2021 08:59:50 -0500 (EST) X-Delivered-To: int-list-linux-mm@kvack.org Received: by kanga.kvack.org (Postfix, from userid 63042) id 2E12C6B006E; Wed, 17 Feb 2021 08:59:50 -0500 (EST) X-Delivered-To: linux-mm@kvack.org Received: from forelay.hostedemail.com (smtprelay0195.hostedemail.com [216.40.44.195]) by kanga.kvack.org (Postfix) with ESMTP id 152DC6B0006 for ; Wed, 17 Feb 2021 08:59:50 -0500 (EST) Received: from smtpin08.hostedemail.com (10.5.19.251.rfc1918.com [10.5.19.251]) by forelay02.hostedemail.com (Postfix) with ESMTP id CCC4833CD for ; Wed, 17 Feb 2021 13:59:49 +0000 (UTC) X-FDA: 77827918098.08.326A3FF Received: from mx2.suse.de (mx2.suse.de [195.135.220.15]) by imf16.hostedemail.com (Postfix) with ESMTP id A63BB80192DA for ; Wed, 17 Feb 2021 13:59:48 +0000 (UTC) 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=1613570388; 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=kpok43AkS6LfrrRyrP7m0YdEzZi5ynjrVsviXupBxkY=; b=GjOD4Nrr7GreaIY8cM6LFiUsfif620HT2e+wgR5W9K18oMGEmpBZOmFl8/W5BP9th28I+8 cyNzoUXR4ytaKYSrGwSnq3PA7wzJXdxQkBbbqapmzaIoR9O/ayFsYQWlkj3wpTSMevU1s+ pwQFrc0d2hI6LkF/Ftkgv/HDYcEXkFM= Received: from relay2.suse.de (unknown [195.135.221.27]) by mx2.suse.de (Postfix) with ESMTP id 23627B761; Wed, 17 Feb 2021 13:59:48 +0000 (UTC) Date: Wed, 17 Feb 2021 14:59:40 +0100 From: Michal Hocko To: David Hildenbrand Cc: Oscar Salvador , Andrew Morton , Mike Kravetz , Muchun Song , linux-mm@kvack.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 1/2] mm: Make alloc_contig_range handle free hugetlb pages Message-ID: References: <20210217100816.28860-1-osalvador@suse.de> <20210217100816.28860-2-osalvador@suse.de> <182f6a4a-6f95-9911-7730-8718ab72ece2@redhat.com> <5f50c810-3f49-a162-6d1d-cf621c515f45@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5f50c810-3f49-a162-6d1d-cf621c515f45@redhat.com> X-Stat-Signature: niopenstatuwnc9ep4t6g35kw4tf1djy X-Rspamd-Server: rspam05 X-Rspamd-Queue-Id: A63BB80192DA Received-SPF: none (suse.com>: No applicable sender policy available) receiver=imf16; identity=mailfrom; envelope-from=""; helo=mx2.suse.de; client-ip=195.135.220.15 X-HE-DKIM-Result: pass/pass X-HE-Tag: 1613570388-218424 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: On Wed 17-02-21 14:53:37, David Hildenbrand wrote: > On 17.02.21 14:50, Michal Hocko wrote: [...] > > Do we have any real life examples? Or does this fall more into, let's > > optimize an existing implementation category. > > > > It's a big TODO item I have on my list and I am happy that Oscar is looking > into it. So yes, I noticed it while working on virtio-mem. It's real. Do not take me wrong, I am not opposing to the functionality. I am asking for the specific usecase. -- Michal Hocko SUSE Labs