Messages in this thread | | | Date | Wed, 27 Oct 2004 14:29:14 -0700 | From | Andrew Morton <> | Subject | Re: [PATCH] Re: news about IDE PIO HIGHMEM bug (was: Re: 2.6.9-mm1) |
| |
Jeff Garzik <jgarzik@pobox.com> wrote: > > > However, pfn_to_page(page_to_pfn(page) + 1) might be safer. If rather slower. > > > Is this patch acceptable to everyone? Andrew?
spose so. The scatterlist API is being a bit silly there.
It might be worthwhile doing:
#ifdef CONFIG_DISCONTIGMEM #define nth_page(page,n) pfn_to_page(page_to_pfn((page)) + n) #else #define nth_page(page,n) ((page)+(n)) #endif
- 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/
| |