Messages in this thread | | | Date | Mon, 07 Apr 2003 14:32:26 +0200 | From | David Zaffiro <> | Subject | Re: An idea for prefetching swapped memory... |
| |
> The idea was about prefetching swapped out pages when some memory is free, the > CPU is idle and the I/O load is low. > > So this should not 'cost' much but behave better on following situation: > (I think there are even more such situations, this one should just be an > example)
Wouldn't it cost almost twice as much when the user requests a different task, instead of the just swaped-in "last swaped-out task(s)"?!
Instead of loading this directly into a free portion of phys. memory, the just-swapped-in-ex-swapped-out task(s) would need to be swapped-out *again* in favour of the to-be-swaped-in task...
Or am I wrong here?
- 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/
| |