Skip to content

Commit

Permalink
[arch][x86] Change the cache line size to 64 bytes
Browse files Browse the repository at this point in the history
All remotely modern x86 CPUs use 64-byte cache lines. Change CACHE_LINE
to reflect this.
  • Loading branch information
heatd committed May 20, 2023
1 parent 431e409 commit ec82cd0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion arch/x86/include/arch/defines.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
#define PAGE_SIZE 4096
#define PAGE_SIZE_SHIFT 12

#define CACHE_LINE 32
#define CACHE_LINE 64

#define ARCH_DEFAULT_STACK_SIZE 8192
#define DEFAULT_TSS 4096
Expand Down

0 comments on commit ec82cd0

Please sign in to comment.