* hot and cold pages
@ 2003-02-11 15:12 Amol Kumar Lad
2003-02-11 5:02 ` Martin J. Bligh
0 siblings, 1 reply; 2+ messages in thread
From: Amol Kumar Lad @ 2003-02-11 15:12 UTC (permalink / raw)
To: linux-mm
Hi,
I have a small question regarding 'per_cpu_pages' . What is
significance if maintaining 'hot' pages and 'cold' pages list. Are hot
pages something to do with L2 cache (on x86) ?
---
After going through code, I found out, any new page allocation (for file
read)is from cold page list and zero order pages are generally freed to
hot page list
-- Amol
--
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-mm.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: hot and cold pages
2003-02-11 15:12 hot and cold pages Amol Kumar Lad
@ 2003-02-11 5:02 ` Martin J. Bligh
0 siblings, 0 replies; 2+ messages in thread
From: Martin J. Bligh @ 2003-02-11 5:02 UTC (permalink / raw)
To: Amol Kumar Lad, linux-mm
> I have a small question regarding 'per_cpu_pages' . What is
> significance if maintaining 'hot' pages and 'cold' pages list. Are hot
> pages something to do with L2 cache (on x86) ?
Yup, pages that are thought to be L2 cache hot (or cold, respectively) for
that CPU as a lifo stack.
> After going through code, I found out, any new page allocation (for file
> read)is from cold page list and zero order pages are generally freed to
> hot page list
Right ... if you're going to DMA into it, you might as well use a cold page
- no advantage to using a hot one. Pages newly freed stand a good chance of
being hot, so they're put into the hot list.
M.
--
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-mm.org/
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2003-02-11 5:02 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-02-11 15:12 hot and cold pages Amol Kumar Lad
2003-02-11 5:02 ` Martin J. Bligh
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox