Re: [PATCH] add a clear_pages function to clear pages of higherorder
From: Christoph Lameter
Date: Thu Mar 10 2005 - 18:06:26 EST
On Thu, 10 Mar 2005, Dave Hansen wrote:
> > +extern void clear_pages (void *page, int order);
> > extern void copy_page (void *to, void *from);
> > +#define clear_page(__page) clear_pages(__page, 0)
> > +#define __HAVE_ARCH_CLEAR_PAGES
> Although this is a simple instance, could this please be done in a
> Kconfig file? If that #define happens inside of other #ifdefs, it can
> be quite hard to decipher the special .config incantation to get it set.
> On the other hand, if the dependencies are spelled out in a Kconfig
Ok will do.
> BTW, I tried applying this to 2.6.11-bk6, and it rejected:
> patching file include/asm-i386/page.h
> Hunk #2 FAILED at 28.
> 1 out of 2 hunks FAILED -- saving rejects to file
> There were some more rejects as well. Were there some other patches
> applied first?
Patches work fine here.
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/