Skip to content

x86: memory: allow configuring caching policies #59

@d4ilyrun

Description

@d4ilyrun

Caching

It would be nice to allow configuring the caching policies when allocating an address.
This will soon be necessary when using DMA transfers on PCI or USB devices.

Design ideas

The caching policies could be configured using one, or several, of the following APIs:

  • Configure policies using KMALLOC/VM flags
  • Configure policies manually through a function call vm_set_policy() , mmu_set_policy()

Documentation

  • SDM chapter 12: Meory cache control

Metadata

Metadata

Assignees

No one assigned

    Labels

    arch: x86x86 specific featurestarget: kernelKernel related featurestype: newImplement a new feature

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions