Re: [RFC][PATCH 26/25] mm, arch: Convert ia64, arm, sh to generictlb
From: Sam Ravnborg
Date: Wed Jan 26 2011 - 14:19:39 EST
> Index: linux-2.6/include/asm-generic/tlb.h
> ===================================================================
> --- linux-2.6.orig/include/asm-generic/tlb.h
> +++ linux-2.6/include/asm-generic/tlb.h
> @@ -79,6 +79,10 @@ struct mmu_gather {
> fast_mode : 1; /* No batching */
> unsigned int fullmm; /* Flush full mm */
>
> +#ifdef CONFIG_HAVE_MMU_GATHER_RANGE
> + unsigned long start, end;
> +#endif
> +
> struct mmu_gather_batch *active;
> struct mmu_gather_batch local;
> struct page *__pages[8];
Not related to this patch per see.
But if you anyway touch this header could you then fix
following comment:
/* Users of the generic TLB shootdown code must declare this storage space. */
DECLARE_PER_CPU(struct mmu_gather, mmu_gathers);
If I understand this correct then this should read:
/*
* Users of the generic TLB shootdown
* must define mmu_gathers like this:
* DEFINE_PER_CPU(struct mmu_gather, mmu_gathers);
*/
The main difference is "declare" => "define".
If you already updated this in you serie then please ignore this mail.
Sam
--
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/