Messages in this thread | | | Date | Mon, 24 Jan 2005 12:33:47 -0800 (PST) | From | Christoph Lameter <> | Subject | Re: Extend clear_page by an order parameter |
| |
On Mon, 24 Jan 2005, David S. Miller wrote:
> On Mon, 24 Jan 2005 08:37:15 -0800 (PST) > Christoph Lameter <clameter@sgi.com> wrote: > > > Then it may also be better to pass the page struct to clear_pages > > instead of a memory address. > > What is more generally available at the call sites at this time? > Consider both HIGHMEM and non-HIGHMEM setups in your estimation > please :-)
The only call site is prep_zero_page which has a GFP flag, the order and the pointer to struct page.
The patch makes the huge page code call prep_zero_page and scrubd will also call prep_zero_page. - 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/
| |