Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • L linux
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • linux
  • Repository
  • linux
  • kernel
  • events
  • ring_buffer.c
Find file BlameHistoryPermalink
  • Alexander Shishkin's avatar
    perf: Cap allocation order at aux_watermark · d68e6799
    Alexander Shishkin authored Apr 14, 2021
    
    
    Currently, we start allocating AUX pages half the size of the total
    requested AUX buffer size, ignoring the attr.aux_watermark setting. This,
    in turn, makes intel_pt driver disregard the watermark also, as it uses
    page order for its SG (ToPA) configuration.
    
    Now, this can be fixed in the intel_pt PMU driver, but seeing as it's the
    only one currently making use of high order allocations, there is no
    reason not to fix the allocator instead. This way, any other driver
    wishing to add this support would not have to worry about this.
    
    Signed-off-by: default avatarAlexander Shishkin <alexander.shishkin@linux.intel.com>
    Signed-off-by: default avatarPeter Zijlstra (Intel) <peterz@infradead.org>
    Link: https://lkml.kernel.org/r/20210414154955.49603-2-alexander.shishkin@linux.intel.com
    d68e6799
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7