Messages in this thread |  | | | Date | Mon, 16 Mar 2009 21:00:20 -0700 | | From | "H. Peter Anvin" <> | | Subject | Re: [crash] Re: Latest brk patchset |
| |
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. -hpa
-- H. Peter Anvin, Intel Open Source Technology Center I work for Intel. I don't speak on their behalf.
|  |