Hi,
I got the error __alloc_pages: 4-order allocation failed in a module that uses and
frees a lot of pages.
Basically, I am trying implement a page cache for the module. First, I keep allocating
pages using page_cache_alloc() until it fails, then I free a whole bunch of pages
using
Hi,
I got the error __alloc_pages: 4-order allocation failed in a module that uses and
frees a lot of pages.
Basically, I am trying implement a page cache for the module. First, I keep allocating
pages using page_cache_alloc() until it fails, then I free a whole bunch of pages
using
Hi,
I am trying to develop a module that makes use of the page cache(by allocating a LOT
of pages use page_cache_alloc and then add_to_page_cache). However, I got some
unresolved symbols error during insmod.(because the symbols related to
lru_cache_add etc are not exported?) .
I am just
Hi,
I am trying to develop a module that makes use of the page cache(by allocating a LOT
of pages use page_cache_alloc and then add_to_page_cache). However, I got some
unresolved symbols error during insmod.(because the symbols related to
lru_cache_add etc are not exported?) .
I am just
In the get_zeroed_page()function, address = page_address(page)
1)Does address point to a contiguous block of 4KB of physical memory? i.e.can I
access the individual bytes by *address++?
2)How is page_address() function defined? I did a grep and found something like:
#define
In the get_zeroed_page()function, address = page_address(page)
1)Does address point to a contiguous block of 4KB of physical memory? i.e.can I
access the individual bytes by *address++?
2)How is page_address() function defined? I did a grep and found something like:
#define
Never mind.. I figured it out.
__
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
get_free_page() returns a pointer to a page while page_cache_alloc returns a pointer
to a page struct.
Is page_cache_alloc more efficient than get_free_page()?
Also, does get_free_page returns a pointer to a contiguous block of physical memory?
Thanks
get_free_page() returns a pointer to a page while page_cache_alloc returns a pointer
to a page struct.
Is page_cache_alloc more efficient than get_free_page()?
Also, does get_free_page returns a pointer to a contiguous block of physical memory?
Thanks
Never mind.. I figured it out.
__
Get your own FREE, personal Netscape Webmail account today at
http://webmail.netscape.com/
-
To unsubscribe from this list: send the line unsubscribe linux-kernel in
the body of a message to [EMAIL
he page
cache, what would you do?
2)The ramfs uses the generic file operation
Ingo Oeser <[EMAIL PROTECTED]> wrote:
>
> On Fri, Jun 22, 2001 at 05:45:27PM -0400, Ho Chak Hung wrote:
> > In fs/ramfs/inode.c, how does ramfs actually fills the page
> > cache with data?
you do?
2)The ramfs uses the generic file operation
Ingo Oeser [EMAIL PROTECTED] wrote:
On Fri, Jun 22, 2001 at 05:45:27PM -0400, Ho Chak Hung wrote:
In fs/ramfs/inode.c, how does ramfs actually fills the page
cache with data? In the readpage operation, it only zero-fill
the page
In fs/ramfs/inode.c, how does ramfs actually fills the page cache with data? In the
readpage operation, it only zero-fill the page if it didn't already exist in the page
cache. However, how do I actually fill the page with data?
Thanks a lot.
In fs/ramfs/inode.c, how does ramfs actually fills the page cache with data? In the
readpage operation, it only zero-fill the page if it didn't already exist in the page
cache. However, how do I actually fill the page with data?
Thanks a lot.
Hi,
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
Hi,
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
16 matches
Mail list logo