lkml.org 
[lkml]   [2011]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v7 08/16] ARM: LPAE: Page table maintenance for the 3-level format
    On Wed, Aug 10, 2011 at 04:03:31PM +0100, Catalin Marinas wrote:
    > This patch modifies the pgd/pmd/pte manipulation functions to support
    > the 3-level page table format. Since there is no need for an 'ext'
    > argument to cpu_set_pte_ext(), this patch conditionally defines a
    > different prototype for this function when CONFIG_ARM_LPAE.

    This has a really large number of ifdefs. You've split the 2 and 3
    level page table stuff into two different header files already,
    conditionalized on CONFIG_ARM_LPAE, yet we still end up with lots of
    junk in the common header file conditionalized on that symbol. Can't
    we find a way to restructure pgtable.h to sort this out more cleanly?

    Do we really need to change the set_pte_ext() prototype as well - do
    we _really_ need ifdefs around its declaration, and every usage of it
    as well? Can't we just leave the 3rd argument as zero?


    \
     
     \ /
      Last update: 2011-10-23 13:59    [W:2.676 / U:0.520 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site