lkml.org 
[lkml]   [2006]   [Aug]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: What kind of page allocation optimization does the kernel implemented?
On Mon, Aug 14, 2006 at 11:07:34PM -0400, Lei Jin wrote:
> Does the kernel support the page coloring algorithm? I cannot find any
> clue from the code.

IANVMHacker, but

$ grep color -n -r mm/
mm/page_alloc.c:1743: * of pages of one half of the possible page
colors
mm/page_alloc.c:1744: * and the other with pages of the other colors.
mm/mmap.c:379: rb_insert_color(&vma->vm_rb, &mm->mm_rb);
mm/nommu.c:351: rb_insert_color(&vma->vm_rb, &nommu_vma_tree);
mm/slab.c:295: unsigned int colour_next; /* Per-node cache coloring */
mm/mempolicy.c:1420: rb_insert_color(&new->nd, &sp->root);

-
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/

\
 
 \ /
  Last update: 2006-08-15 05:45    [W:0.026 / U:2.108 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site