Re: cramfs b0rken on HIGHMEM machines

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Thu Mar 22 2001 - 07:13:42 EST


> just look at fs/cramfs/inode.c:cramfs_read_page()
> It uses page_address instead of kmap().
>
> I would have fixed it myself, but I don't know, how I should
> kunmap() it, once we have memory pressure.

Take a look at ramfs. kmap isnt really a 'pressure' thing. You want to kunmap
the page as soon as you can. The kmap/unmap operations are fairly fast but
there is a limited pool of maps.

Alan

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



This archive was generated by hypermail 2b29 : Fri Mar 23 2001 - 21:00:17 EST