diff options
author | Paul Mackerras <paulus@samba.org> | 2007-10-11 14:37:10 +0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-10-12 08:05:17 +0400 |
commit | 1189be6508d45183013ddb82b18f4934193de274 (patch) | |
tree | 58924481b4de56699e4a884dce8dc601e71cf7d1 /arch/powerpc/kernel/legacy_serial.c | |
parent | 287e5d6fcccfa38b953cebe307e1ddfd32363355 (diff) | |
download | linux-1189be6508d45183013ddb82b18f4934193de274.tar.xz |
[POWERPC] Use 1TB segments
This makes the kernel use 1TB segments for all kernel mappings and for
user addresses of 1TB and above, on machines which support them
(currently POWER5+, POWER6 and PA6T).
We detect that the machine supports 1TB segments by looking at the
ibm,processor-segment-sizes property in the device tree.
We don't currently use 1TB segments for user addresses < 1T, since
that would effectively prevent 32-bit processes from using huge pages
unless we also had a way to revert to using 256MB segments. That
would be possible but would involve extra complications (such as
keeping track of which segment size was used when HPTEs were inserted)
and is not addressed here.
Parts of this patch were originally written by Ben Herrenschmidt.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch/powerpc/kernel/legacy_serial.c')
0 files changed, 0 insertions, 0 deletions