• Jeremy Fitzhardinge's avatar
    x86: simplify vmalloc_sync_all · 67350a5c
    Jeremy Fitzhardinge authored
    vmalloc_sync_all() is only called from register_die_notifier and
    alloc_vm_area.  Neither is on any performance-critical paths, so
    vmalloc_sync_all() itself is not on any hot paths.
    
    Given that the optimisations in vmalloc_sync_all add a fair amount of
    code and complexity, and are fairly hard to evaluate for correctness,
    it's better to just remove them to simplify the code rather than worry
    about its absolute performance.
    Signed-off-by: default avatarJeremy Fitzhardinge <jeremy.fitzhardinge@citrix.com>
    Cc: xen-devel <xen-devel@lists.xensource.com>
    Cc: Stephen Tweedie <sct@redhat.com>
    Cc: Eduardo Habkost <ehabkost@redhat.com>
    Cc: Mark McLoughlin <markmc@redhat.com>
    Signed-off-by: default avatarIngo Molnar <mingo@elte.hu>
    67350a5c
fault.c 23.3 KB