Re: Need help - Reserving and locking the pages in main memory

From: jsimmons@acsu.buffalo.edu
Date: Thu Mar 23 2000 - 10:30:56 EST


I have to look it up when I get home this afternoon. I don't know the
answer off the top of my head.

On Thu, 23 Mar 2000, A V Naga Muni Reddy wrote:

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

-
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:38 EST