Re: [PATCH] ncpfs support for zoned-2.3.28-K2

Ingo Molnar (mingo@chiara.csoma.elte.hu)
Tue, 16 Nov 1999 22:14:23 +0100 (CET)


On Tue, 16 Nov 1999, Petr Vandrovec wrote:

> Hi Ingo,
> this patch should get ncpfs to work with your zoned-2.3.28-K2
> patch. I hope that I tied kmap/kunmap together right way.
> If you think that recvmsg and memset will work with highmem
> pages and that I can return HIGHMEM page to user from nopage
> handler, you can change GFP_KERNEL to GFP_KERNEL | GFP_HIGHMEM
> in call to page_alloc in fs/ncpfs/mmap.c.

yep, both are ok. It's the kmapped virtual address that gets passed to
recvmsg, and ->nopage() deals with highmem pages transparently.

> I hope that kmap always suceeds. [...]

kmap never fails - but it can block.

-- 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/