Re: kernel memory swap..

From: Gilad Ben-Yossef (gilad@benyossef.com)
Date: Fri Aug 09 2002 - 18:19:43 EST


On Fri, 2002-08-09 at 20:57, Imran Badr wrote:
>
> Hi,
>
> If I allocate some memory using kmalloc() in the linux device driver and
> will it ever be swapped to hard disk? If yes, then how can I lock the page?

AFAIK, kmalloced memory is never swapped.

Gilad.

-- 
Gilad Ben-Yossef <gilad@benyossef.com>
http://benyossef.com

"Money talks, bullshit walks and GNU awks." -- Shachar "Sun" Shemesh, debt collector for the GNU/Yakuza

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



This archive was generated by hypermail 2b29 : Thu Aug 15 2002 - 22:00:21 EST