Messages in this thread | | | Date | Mon, 18 Jun 2012 12:45:48 -0400 | From | Rik van Riel <> | Subject | Re: [PATCH -mm 3/6] Fix the x86-64 page colouring code to take pgoff into account and use that code as the basis for a generic page colouring code. |
| |
On 06/18/2012 12:30 PM, Andi Kleen wrote: > Rik van Riel<riel@redhat.com> writes: > >> From: Rik van Riel<riel@surriel.com> >> >> Teach the generic arch_get_unmapped_area(_topdown) code to call the >> page colouring code. > > What tree is that against? I cannot find x86 page colouring code in next > or mainline.
This is against mainline.
See align_addr in arch/x86/kernel/sys_x86_64.c and the call sites in arch_get_unmapped_area(_topdown).
On certain AMD chips, Linux tries to get certain allocations aligned to avoid cache aliasing issues.
-- All rights reversed
| |