Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2001 12:08:14 +0800
From:      Rex Luo <rexluo@synology.com>
To:        freebsd-hackers@FreeBSD.ORG
Subject:   qestion about vm page coloring
Message-ID:  <200107260408.MAA08931@synology.com>

next in thread | raw e-mail | index | archive | help
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 that almost each map entry's page color is zero, that means
PQ_L2_SIZE is 1, and disable page coloring option. Maybe I can do some 
modification to dump PQ_L2_SIZE's value, but I think my guess is right.
Can someone please tell me the principle of page coloring, and why it's disabled
now?

Thanks,

Rex Luo





To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107260408.MAA08931>