[parisc-linux] struct page: page in use or not ?
Matthew Wilcox
willy@debian.org
Thu, 20 Mar 2003 12:13:56 +0000
On Thu, Mar 20, 2003 at 12:23:08PM +0100, bruno_vidal@hp.com wrote:
> Hi
> What do you mean by "swsusp" patche ? What it do....
> Actually I'm looking at the kmalloc() function in order to
> understand how it determine the bucket, and so to know
> which pages I need to dump before I can use the page structure.
> Do you think it is a good starting point, or using page
> struture is really a bad option ?
kmalloc (ie slab) is the wrong allocator to be looking at. you want
get_free_pages.
--
"It's not Hollywood. War is real, war is primarily not about defeat or
victory, it is about death. I've seen thousands and thousands of dead bodies.
Do you think I want to have an academic debate on this subject?" -- Robert Fisk