linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Inter-zone swapping
@ 2000-07-23  1:27 Cesar Eduardo Barros
  2000-07-25 13:38 ` Stephen C. Tweedie
  0 siblings, 1 reply; 4+ messages in thread
From: Cesar Eduardo Barros @ 2000-07-23  1:27 UTC (permalink / raw)
  To: linux-mm

(I'm a complete newbie at vm, so if I'm saying something stupid here, don't be
 so hard on me)

I've been thinking about the following scenario: by some random chance, we have
the DMA zone full of recent pages, the normal zone full of old pages, and the
highmem zone empty (I don't have that much memory). So the right place to page
out from would be the normal zone (since if we swap out from the DMA zone we'll
be swapping out a page a program will need soon). But suppose the DMA zone is
almost full, so something needs to be taken from it or we might risk not having
free memory for atomic allocations for the sound card (or other random
DMA-using driver).

Then would it be useful to "swap" a page from the DMA zone into the normal zone
(and of course after that ending up swapping from the normal zone to the disk)?

-- 
Cesar Eduardo Barros
cesarb@nitnet.com.br
cesarb@dcc.ufrj.br
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2000-07-26 11:02 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-07-23  1:27 Inter-zone swapping Cesar Eduardo Barros
2000-07-25 13:38 ` Stephen C. Tweedie
2000-07-25 21:46   ` Mark Hahn
2000-07-26 11:02     ` Stephen C. Tweedie

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox