Received: by 2002:a05:6a10:a0d1:0:0:0:0 with SMTP id j17csp2457158pxa; Mon, 24 Aug 2020 14:59:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwr8VBr3v+Qsjt2++5SZZd7CUrtoa9hUUQs0kAuKzPIBxjBRvkYKqN4UpPPS3iD1WvfQfyD X-Received: by 2002:a05:6402:1282:: with SMTP id w2mr7044722edv.183.1598306371311; Mon, 24 Aug 2020 14:59:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1598306371; cv=none; d=google.com; s=arc-20160816; b=ewJE17yLH1NqUcgFRtR1fTTBb2P3lcoYok8iUNx0IT8KmvbLtKhdIk4FIbNXNcq50O T4KFlARiJdE+K3/1sUjnb60umckj8W7Eu3bOhMZ8FcEn7h6f9Z2eRjsVqeVdECtRKmhN zjnU0K3B2a5NHaK4RrKXDaariOhAbjXt2yArcYosBKlyIVXTJnFqZKtHVwAUyYb3ozXF ohcj3VemIKj9d7wbei9ulwuadV+QCQT8vvDwW+LK7Jsrd98NlKJu0r/9s/rWaSfl3P26 qUkU63zb0ZFWTnifMx9St9eg7lhfOagpnr0zA2U40zezMZCqSDwvlqVJ76bJiGsngKcN pqqw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject:dkim-signature; bh=A/PnfWbsJd7N4fG0fbCbbTnDOO65Xs5d+iKgr3JCUgQ=; b=rGKF4C3B5NmLCVSL/yRp9KFz9RlmEjaMVd6CqowCQDnz0X74mLedV7YEAaCsMXn5JY 92l6yGhfBkxeNc+PnfMpRPvpBbzsB9nn7JbTpVGd+AvbVLNa8nRZfmP12qB35kn5dUUQ QQzxA1olaofViGcuaqIXEjbrHgs+m9G25ToKIdsvpt4s4qvFZOAI72ARSIdJRMpmQKY7 7LNxEGaNt2zLIRYLFyly7Bnwuotf0IPL8b20xVlSSjOPTHhrSLcE86c0E9edFWbaoR0l pf0xo+Mjkj2zgBehpOr0mCGkCIJoEIAgf2WP5HRYiVU+NHvdjfBK+3NZzuMyXG2Ptgaq qyJg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@oracle.com header.s=corp-2020-01-29 header.b=BSXZNxJr; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u22si7311615eja.418.2020.08.24.14.59.07; Mon, 24 Aug 2020 14:59:31 -0700 (PDT) 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=@oracle.com header.s=corp-2020-01-29 header.b=BSXZNxJr; 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=NONE sp=NONE dis=NONE) header.from=oracle.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727931AbgHXV5X (ORCPT + 99 others); Mon, 24 Aug 2020 17:57:23 -0400 Received: from userp2120.oracle.com ([156.151.31.85]:50992 "EHLO userp2120.oracle.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726090AbgHXV5W (ORCPT ); Mon, 24 Aug 2020 17:57:22 -0400 Received: from pps.filterd (userp2120.oracle.com [127.0.0.1]) by userp2120.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07OLnHBA073517; Mon, 24 Aug 2020 21:57:16 GMT DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=oracle.com; h=subject : to : cc : references : from : message-id : date : mime-version : in-reply-to : content-type : content-transfer-encoding; s=corp-2020-01-29; bh=A/PnfWbsJd7N4fG0fbCbbTnDOO65Xs5d+iKgr3JCUgQ=; b=BSXZNxJr0wXqAwuFszBTcYEBKJ7Ej103vFkbbEgePFPFHuPfJTmzSIRf28DXKPFyUxqh 6W4gQcYos0VZiE8+/cA0QeNSnzb8GHTuUQ+C0eAZD6eT8Izc1Xlfdjrx3nHqa9D97SxK oYwLXgOBks5k5UhR9xOXzrpS1sYrIuPARzOIg8kVb2EPsiAU8MzKAHpMPw1LUQwngWRl EgHfnTMiY9IbiA7r5Y/oUKpPwgWiAvfkcLd0AvceWPsQbM9nTJRXONRCCepFV1QiWfzr LCvK1G/7UD9UWinkUegV3CbOQu6k/OptRt79F12BhwVI64OkXf4BGn+48p9Me0KjaUlZ dg== Received: from aserp3020.oracle.com (aserp3020.oracle.com [141.146.126.70]) by userp2120.oracle.com with ESMTP id 333w6tnnvd-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=FAIL); Mon, 24 Aug 2020 21:57:16 +0000 Received: from pps.filterd (aserp3020.oracle.com [127.0.0.1]) by aserp3020.oracle.com (8.16.0.42/8.16.0.42) with SMTP id 07OLu8BK032110; Mon, 24 Aug 2020 21:57:15 GMT Received: from userv0121.oracle.com (userv0121.oracle.com [156.151.31.72]) by aserp3020.oracle.com with ESMTP id 333ru5v8bj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=OK); Mon, 24 Aug 2020 21:57:15 +0000 Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by userv0121.oracle.com (8.14.4/8.13.8) with ESMTP id 07OLvDQu010932; Mon, 24 Aug 2020 21:57:14 GMT Received: from [192.168.2.112] (/50.38.35.18) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Mon, 24 Aug 2020 14:57:12 -0700 Subject: Re: [PATCH v2 0/4] mm/hugetlb: Small cleanup and improvement To: akpm@linux-foundation.org Cc: Baoquan He , linux-kernel@vger.kernel.org, linux-mm@kvack.org, david@redhat.com References: <20200723032248.24772-1-bhe@redhat.com> From: Mike Kravetz Message-ID: <9cdac49f-bec3-2230-2432-5ea2d83608b5@oracle.com> Date: Mon, 24 Aug 2020 14:57:11 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: <20200723032248.24772-1-bhe@redhat.com> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9723 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 mlxlogscore=999 phishscore=0 bulkscore=0 suspectscore=0 spamscore=0 mlxscore=0 adultscore=0 malwarescore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008240173 X-Proofpoint-Virus-Version: vendor=nai engine=6000 definitions=9723 signatures=668679 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 adultscore=0 impostorscore=0 mlxlogscore=999 suspectscore=0 phishscore=0 malwarescore=0 spamscore=0 priorityscore=1501 clxscore=1015 mlxscore=0 lowpriorityscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.12.0-2006250000 definitions=main-2008240172 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello Andrew, Unless someone objects, can you add patches 1-3 of this series to your tree. They have been reviewed and are fairly simple cleanups. -- Mike Kravetz On 7/22/20 8:22 PM, Baoquan He wrote: > v1 is here: > https://lore.kernel.org/linux-mm/20200720062623.13135-1-bhe@redhat.com/ > > Patch 1~3 are small clean up. > > Patch 4 is adding warning message when the number of persistent huge > pages is not changed to the exact value written to the sysfs or proc > nr_hugepages file. > > v1->v2: > Drop the old patch 1/5 in v1 post, which was thought as typo, while > actually another kind of abbreviation. > > Updated patch log of patch 4 which is rephrased by Mike. And move the > added message logging code after the hugetlb_lock dropping, this is > suggested by Mike. > > > Baoquan He (4): > mm/hugetlb.c: make is_hugetlb_entry_hwpoisoned return bool > mm/hugetlb.c: Remove the unnecessary non_swap_entry() > doc/vm: fix typo in the hugetlb admin documentation > mm/hugetl.c: warn out if expected count of huge pages adjustment is > not achieved > > Documentation/admin-guide/mm/hugetlbpage.rst | 2 +- > mm/hugetlb.c | 27 +++++++++++++++----- > 2 files changed, 21 insertions(+), 8 deletions(-) >