Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757388AbaDHUwM (ORCPT ); Tue, 8 Apr 2014 16:52:12 -0400 Received: from mta-out.inet.fi ([195.156.147.13]:36692 "EHLO jenni1.inet.fi" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1757264AbaDHUwK (ORCPT ); Tue, 8 Apr 2014 16:52:10 -0400 Date: Tue, 8 Apr 2014 23:51:26 +0300 From: "Kirill A. Shutemov" To: Luiz Capitulino Cc: linux-mm@kvack.org, linux-kernel@vger.kernel.org, mtosatti@redhat.com, aarcange@redhat.com, mgorman@suse.de, akpm@linux-foundation.org, andi@firstfloor.org, davidlohr@hp.com, rientjes@google.com, isimatu.yasuaki@jp.fujitsu.com, yinghai@kernel.org, riel@redhat.com, n-horiguchi@ah.jp.nec.com Subject: Re: [PATCH 3/5] hugetlb: update_and_free_page(): don't clear PG_reserved bit Message-ID: <20140408205126.GA2778@node.dhcp.inet.fi> References: <1396983740-26047-1-git-send-email-lcapitulino@redhat.com> <1396983740-26047-4-git-send-email-lcapitulino@redhat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1396983740-26047-4-git-send-email-lcapitulino@redhat.com> User-Agent: Mutt/1.5.22.1-rc1 (2013-10-16) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Tue, Apr 08, 2014 at 03:02:18PM -0400, Luiz Capitulino wrote: > Hugepages pages never get the PG_reserved bit set, so don't clear it. But > add a warning just in case. I don't think WARN_ON() is needed. PG_reserved will be catched by free_pages_check(). -- Kirill A. Shutemov -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/