[prev in list] [next in list] [prev in thread] [next in thread] 

List:       linux-fsdevel
Subject:    Re: cramfs b0rken on HIGHMEM machines
From:       Alan Cox <alan () lxorguk ! ukuu ! org ! uk>
Date:       2001-03-22 12:13:42
[Download RAW message or body]

> 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-fsdevel" in
the body of a message to majordomo@vger.kernel.org

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic