From linux-arm-kernel Fri Jun 11 10:37:36 2004 From: Matthias Welwarsky Date: Fri, 11 Jun 2004 10:37:36 +0000 To: linux-arm-kernel Subject: Re: Disabling kswapd Message-Id: <200406111237.36832.mwelwarsky () web ! de> X-MARC-Message: https://marc.info/?l=linux-arm-kernel&m=108695015820897 On Friday 11 June 2004 11:45, Erik Mouw wrote: > On Thu, Jun 10, 2004 at 03:20:14PM -0700, Michael Moedt wrote: > > I noticed a bunch of threads called 'kswapd' running > > around on my system. I'm not using any swapspace > > (this is an embedded, ARM-based system!). > > You do, but you don't realise: when you execute /bin/sh and memory > presure becomes high, the VM system will get rid of pages used by the > .text segments of the binaries. IOW: it's used as file backed swap. The > swapspace is for anonymous memory (memory you allocate with malloc()). Actually, if you see them "Running" (R), this is a good (bad, actually) sign that your system is experiencing memory pressure. regards, matthias ------------------------------------------------------------------- Subscription options: http://lists.arm.linux.org.uk/mailman/listinfo/linux-arm-kernel FAQ: http://www.arm.linux.org.uk/armlinux/mlfaq.php Etiquette: http://www.arm.linux.org.uk/armlinux/mletiquette.php