lkml.org 
[lkml]   [2011]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [RFC][PATCH 26/25] mm, arch: Convert ia64, arm, sh to generic tlb
FromPeter Zijlstra <>
DateWed, 26 Jan 2011 20:30:18 +0100
On Wed, 2011-01-26 at 20:19 +0100, Sam Ravnborg wrote:
>
> /* 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.

This series rewrites mmu_gather to remove this per-cpu data :-), see
patch #10 which removes the DEFINE_PER_CPU()s after all users are dead.



\
 
 \ /
  Last update: 2011-01-26 20:33    [from the cache]
©2003-2010