Re: qestion about vm page coloring

2001-07-26 Thread Matt Dillon
: : : : yes, I mean vm_page_t, and understand what you said. I will try to print the :value of PQ_L2_SIZE in my kernel. Do you know what kernel options influence :this value? I saw it is decided by PQ_CACHESIZE which is decided by different :PQ_HUGE[LARGE/MEDIUM/...]CACHEsetting. Defaul

Re: qestion about vm page coloring

2001-07-26 Thread Rex Luo
yes, I mean vm_page_t, and understand what you said. I will try to print the value of PQ_L2_SIZE in my kernel. Do you know what kernel options influence this value? I saw it is decided by PQ_CACHESIZE which is decided by different PQ_HUGE[LARGE/MEDIUM/...]CACHEsetting. Default setting

Re: qestion about vm page coloring

2001-07-25 Thread Matt Dillon
:Dear all, : : I study FreeBSD vm managememnt recently, however, I am a little confused :with vm_page's page color. when you call vm_add_new_page() in vm_startup(), :you will set each map entry's page color according to its physical addr. : : m->pc = (pa >> PAGE_SHIFT)&PQ_L2_MASK; : :Howeve

qestion about vm page coloring

2001-07-25 Thread Rex Luo
Dear all, I study FreeBSD vm managememnt recently, however, I am a little confused with vm_page's page color. when you call vm_add_new_page() in vm_startup(), you will set each map entry's page color according to its physical addr. m->pc = (pa >> PAGE_SHIFT)&PQ_L2_MASK; However, I found