Re: [PATCH 2/2] mm: create a separate slab for page->ptl allocation

From: Geert Uytterhoeven
Date: Sat Nov 16 2013 - 15:43:54 EST


On Thu, Nov 7, 2013 at 3:14 PM, Kirill A. Shutemov
<kirill.shutemov@xxxxxxxxxxxxxxx> wrote:
> --- a/include/linux/mm.h
> +++ b/include/linux/mm.h

> +static inline void pgtable_init(void)
> +{
> + ptlock_cache_init();
> + pgtable_cache_init();
> +}

sparc64defconfig:

include/linux/mm.h:1391:2: error: implicit declaration of function
'pgtable_cache_init' [-Werror=implicit-function-declaration]
arch/sparc/include/asm/pgtable_64.h:978:13: error: conflicting types
for 'pgtable_cache_init' [-Werror]

http://kisskb.ellerman.id.au/kisskb/buildresult/10040274/

Has this been in -next?

Probably it needs <asm/pgtable.h>.

Gr{oetje,eeting}s,

Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@xxxxxxxxxxxxxx

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
-- Linus Torvalds
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/