CONFIG_DATA_SHIFT is not available for thedefaultarchitecture x86.
Result is shown for architecture powerpc
Data shift
configname: CONFIG_DATA_SHIFT
Linux Kernel Configuration
└─>Kernel options
└─>Data shift
In linux kernel since version 4.14.326 (release Date: 2023-09-23)
On Book3S 32 (603+), DBATs are used to map kernel text and rodata RO.
Smaller is the alignment, greater is the number of necessary DBATs.
On 8xx, large pages (16kb or 512kb or 8M) are used to map kernel
linear memory. Aligning to 8M reduces TLB misses as only 8M pages
are used in that case. If PIN_TLB is selected, it must be aligned
to 8M as 8M pages will be pinned.
Smaller is the alignment, greater is the number of necessary DBATs.
On 8xx, large pages (16kb or 512kb or 8M) are used to map kernel
linear memory. Aligning to 8M reduces TLB misses as only 8M pages
are used in that case. If PIN_TLB is selected, it must be aligned
to 8M as 8M pages will be pinned.
