Re: [crash] Re: Latest brk patchset

From: Jeremy Fitzhardinge
Date: Tue Mar 17 2009 - 15:43:14 EST


H. Peter Anvin wrote:
Jeremy Fitzhardinge wrote:
H. Peter Anvin wrote:
Yinghai Lu wrote:
You could also write:

PAGE_TABLE_SIZE((-PAGE_OFFSET & 0xffffffff) >> PAGE_SHIFT) <<
PAGE_SHIFT

(the & 0xffffffff is necessary, or you'll get a signed shift.)
max kernel address space range?

Yes, either ((1 << 32)-PAGE_OFFSET) or (-PAGE_OFFSET & 0xffffffff)
should work for that.
The former seems more obvious.

Hi,

Are you refreshing the patchset?

Here's an updated patch: