From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from psmtp.com (na3sys010amx179.postini.com [74.125.245.179]) by kanga.kvack.org (Postfix) with SMTP id E6EB46B0083 for ; Fri, 29 Jun 2012 10:27:50 -0400 (EDT) Message-ID: <4FEDBB1F.9030001@redhat.com> Date: Fri, 29 Jun 2012 10:26:39 -0400 From: Rik van Riel MIME-Version: 1.0 Subject: Re: [PATCH 05/40] autonuma: define _PAGE_NUMA_PTE and _PAGE_NUMA_PMD References: <1340888180-15355-1-git-send-email-aarcange@redhat.com> <1340888180-15355-6-git-send-email-aarcange@redhat.com> In-Reply-To: <1340888180-15355-6-git-send-email-aarcange@redhat.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Sender: owner-linux-mm@kvack.org List-ID: To: Andrea Arcangeli Cc: linux-kernel@vger.kernel.org, linux-mm@kvack.org, Hillf Danton , Dan Smith , Peter Zijlstra , Linus Torvalds , Andrew Morton , Thomas Gleixner , Ingo Molnar , Paul Turner , Suresh Siddha , Mike Galbraith , "Paul E. McKenney" , Lai Jiangshan , Bharata B Rao , Lee Schermerhorn , Johannes Weiner , Srivatsa Vaddagiri , Christoph Lameter , Alex Shi , Mauricio Faria de Oliveira , Konrad Rzeszutek Wilk , Don Morris , Benjamin Herrenschmidt On 06/28/2012 08:55 AM, Andrea Arcangeli wrote: > +/* > + * Cannot be set on pte. The fact it's in between _PAGE_FILE and > + * _PAGE_PROTNONE avoids having to alter the swp entries. > + */ > +#define _PAGE_NUMA_PTE _PAGE_PSE > +/* > + * Cannot be set on pmd, if transparent hugepages will be swapped out > + * the swap entry offset must start above it. > + */ > +#define _PAGE_NUMA_PMD _PAGE_UNUSED2 Those comments only tell us what the flags can NOT be used for, not what they are actually used for. That needs to be fixed. -- All rights reversed -- 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