Changeset de96d3b in mainline for kernel/generic/include/mm/mm.h


Ignore:
Timestamp:
2024-01-03T16:54:15Z (16 months ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
master, topic/simplify-dev-export
Children:
00e6288, 25e1490
Parents:
7130754
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-01 04:12:52)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2024-01-03 16:54:15)
Message:

On x86 CPUs supporting it, use write-combining memory mode for framebuffer

With this, kernel printouts are about three times faster in QEMU.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/mm/mm.h

    r7130754 rde96d3b  
    4646#define PAGE_EXEC_SHIFT                 5
    4747#define PAGE_GLOBAL_SHIFT               6
     48#define PAGE_WRITE_COMBINE_SHIFT  7
    4849
    4950#define PAGE_NOT_CACHEABLE              (0 << PAGE_CACHEABLE_SHIFT)
     
    6263#define PAGE_GLOBAL                     (1 << PAGE_GLOBAL_SHIFT)
    6364
     65#define PAGE_WRITE_COMBINE  (1 << PAGE_WRITE_COMBINE_SHIFT)
     66
    6467#endif
    6568
Note: See TracChangeset for help on using the changeset viewer.