[RFC PATCH 01/09] robust VM per_cpu core
    Andi Kleen 
    ak at suse.de
       
    Wed May 17 19:17:04 EST 2006
    
    
  
> As well as the following three functions:
>
> pud_t *pud_boot_alloc(struct mm_struct *mm, pgd_t *pgd, unsigned long addr,
>                      int cpu);
> pmd_t *pmd_boot_alloc(struct mm_struct *mm, pud_t *pud, unsigned long addr,
>                      int cpu);
> pte_t *pte_boot_alloc(struct mm_struct *mm, pmd_t *pmd, unsigned long addr,
>                      int cpu);
I'm not sure you can just put them like this into generic code. Some 
architectures are doing strange things with them.
And we already have boot_ioremap on some architectures. Why is that not 
enough? 
-Andi
    
    
More information about the Linuxppc-dev
mailing list