[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <20150226200455.GB14117@fuloong-minipc.musicnaut.iki.fi>
Date: Thu, 26 Feb 2015 22:04:55 +0200
From: Aaro Koskinen <aaro.koskinen@....fi>
To: "Kirill A. Shutemov" <kirill.shutemov@...ux.intel.com>
Cc: Andrew Morton <akpm@...ux-foundation.org>, linux-mm@...ck.org,
linux-kernel@...r.kernel.org, David Howells <dhowells@...hat.com>,
Geert Uytterhoeven <geert@...ux-m68k.org>,
Heiko Carstens <heiko.carstens@...ibm.com>,
Helge Deller <deller@....de>,
"James E.J. Bottomley" <jejb@...isc-linux.org>,
Koichi Yasutake <yasutake.koichi@...panasonic.com>,
Martin Schwidefsky <schwidefsky@...ibm.com>
Subject: Re: [PATCHv3 01/17] mm: add missing __PAGETABLE_{PUD,PMD}_FOLDED
defines
Hi,
On Thu, Feb 26, 2015 at 01:35:04PM +0200, Kirill A. Shutemov wrote:
> Core mm expects __PAGETABLE_{PUD,PMD}_FOLDED to be defined if these page
> table levels folded. Usually, these defines are provided by
> <asm-generic/pgtable-nopmd.h> and <asm-generic/pgtable-nopud.h>.
>
> But some architectures fold page table levels in a custom way. They need
> to define these macros themself. This patch adds missing defines.
>
> The patch fixes mm->nr_pmds underflow and eliminates dead __pmd_alloc()
> and __pud_alloc() on architectures without these page table levels.
>
> Signed-off-by: Kirill A. Shutemov <kirill.shutemov@...ux.intel.com>
> Cc: Aaro Koskinen <aaro.koskinen@....fi>
PA-RISC change:
Tested-by: Aaro Koskinen <aaro.koskinen@....fi>
A.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists