Re: [PATCH] include linux/pagemap.h in asm-generic/tlb.h

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jeff Dike
Date: Friday, August 24, 2007 - 7:15 pm

On Fri, Aug 24, 2007 at 05:20:27PM -0700, Andrew Morton wrote:

I agree, I looked at the includes and had the same thoughts.  I sent
it in because there is a problem here, and it fixes a UML config
without noticably breaking anything else.


Yes, it's straightforward - 

tlb.h:

static inline void
tlb_flush_mmu(struct mmu_gather *tlb, unsigned long start, unsigned long end)
{
	...
		free_pages_and_swap_cache(tlb->pages, tlb->nr);
	...
}

swap.h:
#define free_pages_and_swap_cache(pages, nr) \
	release_pages((pages), (nr), 0);

Feel free to drop it, and I'll look at this some more.

				Jeff

-- 
Work email - jdike at linux dot intel dot com
-
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH] include linux/pagemap.h in asm-generic/tlb.h, Jeff Dike, (Fri Aug 24, 11:46 am)
Re: [PATCH] include linux/pagemap.h in asm-generic/tlb.h, Andrew Morton, (Fri Aug 24, 5:20 pm)
Re: [PATCH] include linux/pagemap.h in asm-generic/tlb.h, Jeff Dike, (Fri Aug 24, 7:15 pm)
Re: [PATCH] include linux/pagemap.h in asm-generic/tlb.h, Andrew Morton, (Fri Aug 24, 8:34 pm)