Re: vmalloc - kmalloc and page locks

From: William Lee Irwin III (wli@holomorphy.com)
Date: Tue Jul 22 2003 - 08:07:28 EST


On Tue, Jul 22, 2003 at 06:00:14AM -0700, Deas, Jim wrote:
> How can I look at what memory are being paged out of memory in the kernel
> or how to lock kmalloc and vmalloc pages so they do not get put to swap?
> I have a program that runs great 90% of the time but the other 10%
> of the time the system usage (using 'top')goes from 3% to 50% and latency goes out
> the window! I am assuming this is due to some of my buffers getting swaped
> out as it often corrects itself and runs well the majority of time.
> Doubling the base memory from 256M to 512M did nothing to fix this.
> I need some way to find out who is holding up the process.
> Any suggestions? linux-newbe did not give me any replys, if
> this is the wrong groups can someone redirect me?

Linux is not a pageable kernel; neither vmalloc() nor kmalloc() return
swappable memory.

-- wli
-
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 : Wed Jul 23 2003 - 22:00:46 EST