Jeremy Fitzhardinge wrote:
H. Peter Anvin wrote:
Yinghai Lu wrote:The former seems more obvious.
Yes, either ((1 << 32)-PAGE_OFFSET) or (-PAGE_OFFSET & 0xffffffff)You could also write:max kernel address space range?
PAGE_TABLE_SIZE((-PAGE_OFFSET & 0xffffffff) >> PAGE_SHIFT) <<
PAGE_SHIFT
(the & 0xffffffff is necessary, or you'll get a signed shift.)
should work for that.
Hi,
Are you refreshing the patchset?