[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] cache coloring

1. My "OS concepts" my be a bit rusty, but I only remember something
   called page coloring. Both Google and Wikipedia seems to agree that
   page and cache coloring are the same thing, but then I don't
   understand why you specifically mention L3 above. Can you confirm
   that it is this that you are after?

- yes is what i meant 

As far as I know (and as far as I'm able to grep :-)), I think you
should start looking at xen/common/page_alloc.c.

$ grep -i buddy xen/* -R
xen/arch/x86/x86_64/mm.c:     * buddy allocator relies on this assumption.
xen/arch/x86/x86_64/mm.c:     * Mark the allocated page before put free pages to buddy allocator
xen/common/page_alloc.c: * Simple buddy heap allocator for Xen.
xen/common/page_alloc.c: * BINARY BUDDY ALLOCATOR
xen/common/page_alloc.c:/* Remove any offlined page in the buddy pointed to by head. */
xen/common/page_alloc.c: * not freeing it to the buddy allocator.

yes i've already done it!...and after two days spent at looking at xen/common/page_alloc.c I was wondering if it was the right chunck of code
(I was also been digging through a lot of mm.c...) 
At this level, and for these kind of things, the code itself is the only
existent documentation. :-)


It is the right place, so feel free o ask. The only thing that is
required is to be as specific as possible, i.e., describe your goal,
what it is that you are doing to achieve it and what it is that is not
working / you are not understanding.

This is a nice guide/checklist:

Ok thanks, i'll be more specific as soon as I can! by now i really thank you for the attention, soon I'll be more precise!


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.