Messages in this thread | | | Date | Sun, 9 Jan 2005 21:18:44 -0700 (MST) | From | Zwane Mwaikambo <> | Subject | Re: [PATCH] Fixes for prep_zero_page |
| |
On Sun, 9 Jan 2005, Chris Wright wrote:
> * Zwane Mwaikambo (zwane@arm.linux.org.uk) wrote: > > On Sun, 9 Jan 2005, Andrew Morton wrote: > > > Can't we simply move the page zeroing to the very end of __alloc_pages()? > > > > Ok, i've changed that bit to something like; > > I did it the other way around, and moved kernel_map_pages to prep_new_page > so it's called before zeroing to keep that with the other prep bits > in buffered_rmqueue. Made sense to me that kernel_map_pages is part of > prepping a new page, but this isn't my area, so I could be way off ;-) > It works for me with DEBUG_PAGEALLOC enabled.
A lot more digestible than my offering ;)
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |