Re: [PATCH 07/13] powerpc: Preemptible mmu_gather

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Peter Zijlstra
Date: Friday, April 9, 2010 - 1:14 am

On Fri, 2010-04-09 at 14:07 +1000, Nick Piggin wrote:

I'm not quite sure what about that, didn't fully investigate it, just
wanted to get something working for now.

Of of the things is that both power and sparc need more than the struct
page we normally gather.

I did think of making the mmu_gather have something like

struct mmu_page {
  struct page *page;
#ifdef HAVE_ARCH_TLB_VADDR
  unsigned long vaddr;
#endif
};

struct mmu_gather {
  ...
  unsigned int nr;
  struct mmu_page *pages;
};


and doing that vaddr collection right along with it in the same batch.

I think that that would work, Ben, Dave?

--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 00/13] mm: preemptibility -v2, Peter Zijlstra, (Thu Apr 8, 12:17 pm)
[PATCH 07/13] powerpc: Preemptible mmu_gather, Peter Zijlstra, (Thu Apr 8, 12:17 pm)
Re: [PATCH 00/13] mm: preemptibility -v2, David Miller, (Thu Apr 8, 1:29 pm)
Re: [PATCH 00/13] mm: preemptibility -v2, Peter Zijlstra, (Thu Apr 8, 1:35 pm)
Re: [PATCH 00/13] mm: preemptibility -v2, David Miller, (Thu Apr 8, 6:00 pm)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Nick Piggin, (Thu Apr 8, 9:07 pm)
Re: [PATCH 00/13] mm: preemptibility -v2, Nick Piggin, (Thu Apr 8, 9:14 pm)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Peter Zijlstra, (Fri Apr 9, 1:14 am)
Re: [PATCH 00/13] mm: preemptibility -v2, Peter Zijlstra, (Fri Apr 9, 1:35 am)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Nick Piggin, (Fri Apr 9, 1:46 am)
Re: [PATCH 00/13] mm: preemptibility -v2, Nick Piggin, (Fri Apr 9, 1:50 am)
Re: [PATCH 00/13] mm: preemptibility -v2, Martin Schwidefsky, (Fri Apr 9, 1:58 am)
Re: [PATCH 00/13] mm: preemptibility -v2, Peter Zijlstra, (Fri Apr 9, 1:58 am)
Re: [PATCH 00/13] mm: preemptibility -v2, David Howells, (Fri Apr 9, 2:03 am)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Peter Zijlstra, (Fri Apr 9, 2:22 am)
Re: [PATCH 00/13] mm: preemptibility -v2, Peter Zijlstra, (Fri Apr 9, 2:22 am)
Re: [PATCH 00/13] mm: preemptibility -v2, Peter Zijlstra, (Fri Apr 9, 2:53 am)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Benjamin Herrenschmidt, (Mon Apr 12, 6:23 pm)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Benjamin Herrenschmidt, (Mon Apr 12, 6:56 pm)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Benjamin Herrenschmidt, (Mon Apr 12, 7:06 pm)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Peter Zijlstra, (Tue Apr 13, 3:22 am)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Peter Zijlstra, (Wed Apr 14, 6:34 am)
Re: [PATCH 07/13] powerpc: Preemptible mmu_gather, Peter Zijlstra, (Wed Apr 14, 6:51 am)