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 Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 76DC4C7EE43 for ; Mon, 12 Jun 2023 21:01:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S238704AbjFLVBr (ORCPT ); Mon, 12 Jun 2023 17:01:47 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53440 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S238683AbjFLVBa (ORCPT ); Mon, 12 Jun 2023 17:01:30 -0400 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B8B174217 for ; Mon, 12 Jun 2023 13:57:24 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 403636201C for ; Mon, 12 Jun 2023 20:56:44 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 385EFC4339B; Mon, 12 Jun 2023 20:56:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=linux-foundation.org; s=korg; t=1686603403; bh=esReKupd2Q+U5e9D0ZPlm+IOx1guVso/zouKmwF3zzw=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=P040Znj9FzEMglCMnBVGZir5sagKiKHndrVQsaGA97kyKvJBxSn8vGGtUGpZNa5Fw oMyscfCKZohaDzoOTiB/BljqzZTwJ11IwcAjr9k28wpbOtyTllOLvhc3h8yHifZBTi Cpv3uMykHs4jyagg3LWyk5o2kWwbfd/6TXfOQ7yI= Date: Mon, 12 Jun 2023 13:56:42 -0700 From: Andrew Morton To: David Hildenbrand Cc: Zhaoyang Huang , "zhaoyang.huang" , Matthew Wilcox , Suren Baghdasaryan , Minchan Kim , linux-mm@kvack.org, linux-kernel@vger.kernel.org, ke.wang@unisoc.com Subject: Re: [PATCHv5] mm: skip CMA pages when they are not available Message-Id: <20230612135642.24cef34a2925cdde257c1a50@linux-foundation.org> In-Reply-To: References: <1685501461-19290-1-git-send-email-zhaoyang.huang@unisoc.com> <20230609153519.ff01046ef0faff00a74bd5b0@linux-foundation.org> X-Mailer: Sylpheed 3.8.0beta1 (GTK+ 2.24.33; x86_64-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, 12 Jun 2023 12:01:20 +0200 David Hildenbrand wrote: > ... > > >> > >> If it's a performance improvement, it would be good to show that it is > >> an actual improvement worth the churn ... > > Sorry for the confusion. As for the OOM issue, the previous > > commit(https://lkml.kernel.org/r/1683782550-25799-1-git-send-email-zhaoyang.huang@unisoc.com) > > helps to decrease the fail rate from 12/20 to 2/20, which it turn to > > be 0 when applying this patch. > > Thanks! Can we make that clearer in the patch description? I'm > struggling a bit my self to find the right words. > > Something like > > "This change further decreases the chance for wrong OOMs in the presence > of a lot of CMA memory." > Great, I added that. > > In any case > > Acked-by: David Hildenbrand > And I'll move this patch into mm-stable.