Re: why the PAGE_OFFSET is not 0xc0000000 on m68k platform

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Lanttor <lanttor.guo@xxxxxxxxxxxxx> writes:

In my understanding, the kernel page mapping depends on PAGE_OFFSET.
For example, if PAGE_OFFSET is 0x00000000 (assuming 256M memory), the
kernel virtual address will be at (0x00000000 - 0x10000000), right?

On m68k, the kernel virtual addresses are in a separate address space
from user space, thus the value of PAGE_OFFSET is somewhat arbitrary.

Could this incur some side effect? I see the definition of PAGE_OFFSET
is 0xc0000000 on much platforms.

On those platforms kernel and user space share the same address space,
and PAGE_OFFSET makes sure that they don't overlap.

Andreas.

-- 
Andreas Schwab, schwab@xxxxxxxxxxxxxx
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."
--
To unsubscribe from this list: send the line "unsubscribe linux-m68k" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Video for Linux]     [Yosemite News]     [Linux S/390]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux