Need help - Reserving and locking the pages in main memory

From: A V Naga Muni Reddy (nmreddy@sasi.com)
Date: Thu Mar 23 2000 - 00:46:32 EST


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/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:37 EST