lkml.org 
[lkml]   [2000]   [Mar]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectNeed help - Reserving and locking the pages in main memory
Date
Hi,

I need to reserve the pages of main memory
even in my driver. If i use PG_reserved flag also
the pages some time get's swapped out and my hardware
is hanging . This is in kernel 2.2.x
I am allocating pages by get_free_pages(..).

This is working fine in 2.3.99-pre1 if i set PG_reserved bit
and ioremapping again.

How can i acheive the same in version 2.2.x.

Where can i find a documentation on using these flags.
mm.h does not explain it completely??

- Muni


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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