Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Sign in
  • L linux-vs
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Locked Files
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
    • Iterations
    • Requirements
  • Merge requests 1
    • Merge requests 1
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
    • Test Cases
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Container Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Code review
    • Insights
    • Issue
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • linux-arm
  • linux-vs
  • Repository
Switch branch/tag
  • linux-vs
  • arch
  • x86
  • hyperv
  • hv_init.c
Find file BlameHistoryPermalink
  • Maya Nakamura's avatar
    x86/hyperv: Add functions to allocate/deallocate page for Hyper-V · 8c3e44bd
    Maya Nakamura authored Jul 12, 2019
    
    
    Introduce two new functions, hv_alloc_hyperv_page() and
    hv_free_hyperv_page(), to allocate/deallocate memory with the size and
    alignment that Hyper-V expects as a page. Although currently they are not
    used, they are ready to be used to allocate/deallocate memory on x86 when
    their ARM64 counterparts are implemented, keeping symmetry between
    architectures with potentially different guest page sizes.
    
    Signed-off-by: default avatarMaya Nakamura <m.maya.nakamura@gmail.com>
    Signed-off-by: default avatarThomas Gleixner <tglx@linutronix.de>
    Reviewed-by: default avatarMichael Kelley <mikelley@microsoft.com>
    Reviewed-by: default avatarVitaly Kuznetsov <vkuznets@redhat.com>
    Link: https://lore.kernel.org/lkml/alpine.DEB.2.21.1906272334560.32342@nanos.tec.linutronix.de/
    Link: https://lore.kernel.org/lkml/87muindr9c.fsf@vitty.brq.redhat.com/
    Link: https://lkml.kernel.org/r/706b2e71eb3e587b5f8801e50f090fae2a00e35d.1562916939.git.m.maya.nakamura@gmail.com
    8c3e44bd