Re: [PATCH] 2.3.27-pre6: ncpfs

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Fri, 12 Nov 1999 10:35:35 +0100 (CET)


On Thu, 11 Nov 1999, Petr Vandrovec wrote:

> Hi Linus,
> someone played with MM again. Probably he noticed
> that two weeks ago I added call to __get_pages() into
> ncpfs mmap code and took it as good reason for removing
> this function from kernel public interface :-(
> This patch switches my code back to __get_free_page().
> Diff was generated on the top of 2.3.27-pre6.
> Thanks for applying this. I hope that MM code stabilizes
> soon.

please check out 2.3.27 - there is page_alloc() now. __get_pages() is now
officially gone and a page_alloc.c-internal function, the officially
exported APIs (and this is going to stay a stable interface) is
alloc_page() and alloc_pages(), which can allocate normal and highmem
pages as well. __get_free_pages() can only allocate normal pages. Note
that i noticed the ncpfs breakage and the fix is in 2.3.27. [that way it's
much cleaner and highmem-correct than doing __get_free_page() and a MAP_NR
hack] Sorry for the confusion.

-- mingo

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/