lkml.org 
[lkml]   [2001]   [Jun]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: Using page cache without a file system
Date
On Friday 22 June 2001 05:33, Ho Chak Hung wrote:
> Is it possible to allocate and add pages to the page cache without a
> underlying file system in Linux 2.4? I know that the host pointer to inode
> structure inside the address_space structure can be NULL, but does this
> mean that we can still make use of page cache operations like readpage or
> writepage if we do not back up the cache with a file system? I am currently
> developing a driver that wants to make use of the page cache, however, I
> want to save myself with the heavy load of kmalloc.
>
> Any hint would be greatly appreciated.

Check out ramfs

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

\
 
 \ /
  Last update: 2005-03-22 12:55    [W:0.031 / U:2.676 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site