From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752218AbdCHKAH (ORCPT ); Wed, 8 Mar 2017 05:00:07 -0500 Received: from mx0b-001b2d01.pphosted.com ([148.163.158.5]:42150 "EHLO mx0a-001b2d01.pphosted.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1751962AbdCHKAF (ORCPT ); Wed, 8 Mar 2017 05:00:05 -0500 Date: Wed, 8 Mar 2017 09:23:40 +0100 From: Heiko Carstens To: Michal Hocko Cc: linux-mm@kvack.org, Vlastimil Babka , Johannes Weiner , Mel Gorman , Andrew Morton , LKML , Michal Hocko Subject: Re: [PATCH 1/4] s390: get rid of superfluous __GFP_REPEAT References: <20170307154843.32516-1-mhocko@kernel.org> <20170307154843.32516-2-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170307154843.32516-2-mhocko@kernel.org> User-Agent: Mutt/1.5.21 (2010-09-15) X-TM-AS-GCONF: 00 x-cbid: 17030808-0040-0000-0000-0000033B4AC8 X-IBM-AV-DETECTION: SAVI=unused REMOTE=unused XFE=unused x-cbparentid: 17030808-0041-0000-0000-0000246D17B5 Message-Id: <20170308082340.GB12158@osiris> X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:,, definitions=2017-03-08_06:,, signatures=0 X-Proofpoint-Spam-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1702020001 definitions=main-1703080070 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Mar 07, 2017 at 04:48:40PM +0100, Michal Hocko wrote: > From: Michal Hocko > > __GFP_REPEAT has a rather weak semantic but since it has been introduced > around 2.6.12 it has been ignored for low order allocations. > > page_table_alloc then uses the flag for a single page allocation. This > means that this flag has never been actually useful here because it has > always been used only for PAGE_ALLOC_COSTLY requests. > > An earlier attempt to remove the flag 10d58bf297e2 ("s390: get rid of > superfluous __GFP_REPEAT") has missed this one but the situation is very > same here. > > Cc: Heiko Carstens > Signed-off-by: Michal Hocko > --- > arch/s390/mm/pgalloc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) FWIW: Acked-by: Heiko Carstens If you want, this can be routed via the s390 tree, whatever you prefer. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pf0-f197.google.com (mail-pf0-f197.google.com [209.85.192.197]) by kanga.kvack.org (Postfix) with ESMTP id 854DF831CE for ; Wed, 8 Mar 2017 03:23:51 -0500 (EST) Received: by mail-pf0-f197.google.com with SMTP id o126so46571997pfb.2 for ; Wed, 08 Mar 2017 00:23:51 -0800 (PST) Received: from mx0a-001b2d01.pphosted.com (mx0b-001b2d01.pphosted.com. [148.163.158.5]) by mx.google.com with ESMTPS id c17si2554984pgg.109.2017.03.08.00.23.50 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 08 Mar 2017 00:23:50 -0800 (PST) Received: from pps.filterd (m0098416.ppops.net [127.0.0.1]) by mx0b-001b2d01.pphosted.com (8.16.0.20/8.16.0.20) with SMTP id v2889FOW007195 for ; Wed, 8 Mar 2017 03:23:49 -0500 Received: from e06smtp10.uk.ibm.com (e06smtp10.uk.ibm.com [195.75.94.106]) by mx0b-001b2d01.pphosted.com with ESMTP id 292cb9vr1j-1 (version=TLSv1.2 cipher=AES256-SHA bits=256 verify=NOT) for ; Wed, 08 Mar 2017 03:23:49 -0500 Received: from localhost by e06smtp10.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Wed, 8 Mar 2017 08:23:47 -0000 Date: Wed, 8 Mar 2017 09:23:40 +0100 From: Heiko Carstens Subject: Re: [PATCH 1/4] s390: get rid of superfluous __GFP_REPEAT References: <20170307154843.32516-1-mhocko@kernel.org> <20170307154843.32516-2-mhocko@kernel.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20170307154843.32516-2-mhocko@kernel.org> Message-Id: <20170308082340.GB12158@osiris> Sender: owner-linux-mm@kvack.org List-ID: To: Michal Hocko Cc: linux-mm@kvack.org, Vlastimil Babka , Johannes Weiner , Mel Gorman , Andrew Morton , LKML , Michal Hocko On Tue, Mar 07, 2017 at 04:48:40PM +0100, Michal Hocko wrote: > From: Michal Hocko > > __GFP_REPEAT has a rather weak semantic but since it has been introduced > around 2.6.12 it has been ignored for low order allocations. > > page_table_alloc then uses the flag for a single page allocation. This > means that this flag has never been actually useful here because it has > always been used only for PAGE_ALLOC_COSTLY requests. > > An earlier attempt to remove the flag 10d58bf297e2 ("s390: get rid of > superfluous __GFP_REPEAT") has missed this one but the situation is very > same here. > > Cc: Heiko Carstens > Signed-off-by: Michal Hocko > --- > arch/s390/mm/pgalloc.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) FWIW: Acked-by: Heiko Carstens If you want, this can be routed via the s390 tree, whatever you prefer. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@kvack.org. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: email@kvack.org