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 593DCC61D92 for ; Wed, 22 Nov 2023 06:20:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S234718AbjKVGVB (ORCPT ); Wed, 22 Nov 2023 01:21:01 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:35426 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229498AbjKVGU7 (ORCPT ); Wed, 22 Nov 2023 01:20:59 -0500 Received: from casper.infradead.org (casper.infradead.org [IPv6:2001:8b0:10b:1236::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E957F19D for ; Tue, 21 Nov 2023 22:20:54 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=casper.20170209; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=/cYE10pQhZn9hOp+ZMW+N4doTFUbECzoIMfshVyvGDY=; b=OynjtmZQLAej8/FNfkpV0sngDh /Lsty0gmyOn/1alVikEVLx5fJAD1nqbUAbWZS6lizITR4UhWgH6+rmZrpxro0hDsonvov1dvlm4BW LFfwQRDr2qjGHAAi9ktYO8wJdLhy6/CyjrORHXifUxdfMBf2TeXm5vKplX+HzR3oteydJO6EtPxVy uE0ApIN7gBV7W0J2Z6bRa7cDd06HyXP8QHpwmHzv6OVqP87w58/H5eMJkepsZ6tVuxzAuLd3nR2ZT 8xjq1aqT2zxRSroI6eo763NLPHcKOWGSmcnObBpKWlVVM3hn8n3Hd5h3Mhd7N6ozl+mtVQCIOhjFL k+6M33lA==; Received: from willy by casper.infradead.org with local (Exim 4.94.2 #2 (Red Hat Linux)) id 1r5gbO-006HGc-AG; Wed, 22 Nov 2023 06:20:46 +0000 Date: Wed, 22 Nov 2023 06:20:46 +0000 From: Matthew Wilcox To: Zhiguo Jiang Cc: Andrew Morton , linux-mm@kvack.org, linux-kernel@vger.kernel.org, Johannes Weiner , opensource.kernel@vivo.com Subject: Re: [PATCH v3] mm: ALLOC_HIGHATOMIC flag allocation issue Message-ID: References: <20231122013925.1507-1-justinjiang@vivo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20231122013925.1507-1-justinjiang@vivo.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Nov 22, 2023 at 09:39:25AM +0800, Zhiguo Jiang wrote: > Update base on the latest Linus' tree or Andrew's tree. > +++ b/mm/page_alloc.c > @@ -2851,9 +2851,9 @@ struct page *__rmqueue_pcplist(struct zone *zone, unsigned int order, > int alloced; > > /* > - * If pcplist is empty and alloc_flags is with ALLOC_HIGHATOMIC, > - * it should alloc from buddy highatomic migrate freelist firstly > - * to ensure quick and successful allocation. > + * If pcplist is empty and alloc_flags contains > + * ALLOC_HIGHATOMIC, alloc from buddy highatomic > + * freelist first. No, it's still based on your earlier patch, is it really so hard for you to read your patches before you send them?