[ofa-general] [PATCH] IB/mlx4: Use pgprot_writecombine() for BlueFlame pages

Jack Morgenstein jackm at dev.mellanox.co.il
Mon Mar 30 00:06:29 PDT 2009


On Saturday 28 March 2009 01:15, Roland Dreier wrote:
> -               vma->vm_page_prot = pgprot_noncached(vma->vm_page_prot);
> +               vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot);
> 
Roland, I notice in the 2.6.29 code that:
1. There is a function  validate_pat_support() that should be called to
   make sure that pat support is available.  Should the driver call this function?
   (the linux-cross-referencer did not find any callers).

2. What happens with non-X86 architectures? The function pgprot_writecombine() is defined
   only in X86 archs.

- Jack
 



More information about the general mailing list