Re: What kind of page allocation optimization does the kernel implemented?

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

 



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 [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux