diff options
author | Pedro Falcato <pedro.falcato@gmail.com> | 2023-05-21 00:01:07 +0100 |
---|---|---|
committer | Travis Geiselbrecht <travisg@gmail.com> | 2023-05-20 17:46:24 -0700 |
commit | 67a5104d23532380350f6c4079205382f9caa657 (patch) | |
tree | df844f76b88dc670eb8b6cd8b966bd5cf0dbbaba | |
parent | 431e409c7861baf0a37a380474f58db614ff2aa8 (diff) | |
download | lk-67a5104d23532380350f6c4079205382f9caa657.tar.gz |
[arch][x86] Change the cache line size to 64 bytes
All remotely modern x86 CPUs use 64-byte cache lines. Change CACHE_LINE
to reflect this.
-rw-r--r-- | arch/x86/include/arch/defines.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/arch/x86/include/arch/defines.h b/arch/x86/include/arch/defines.h index 84c9b172..583e86ba 100644 --- a/arch/x86/include/arch/defines.h +++ b/arch/x86/include/arch/defines.h @@ -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 |