lkml.org 
[lkml]   [2009]   [Mar]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [crash] Re: Latest brk patchset
Jeremy Fitzhardinge wrote:
> Yinghai Lu wrote:
>>> -INIT_MAP_SIZE = (PAGE_TABLE_SIZE + ALLOCATOR_SLOP) * PAGE_SIZE_asm
>>> -RESERVE_BRK(pagetables, INIT_MAP_SIZE)
>>> +/* Enough space to fit pagetables for the low memory linear map */
>>> +MAPPING_BEYOND_END = (PAGE_TABLE_SIZE(1 << (32 - PAGE_SHIFT)) *
>>> PAGE_SIZE)
>>>
>>
>> that is for 4g?
>>
>
> Yes, I suppose it only needs to be 1G. But it doesn't make much
> difference in practice.
>

A tighter bound would probably be nice, if nothing else because tighter
bounds tend to catch more bugs.

-hpa



\
 
 \ /
  Last update: 2009-03-16 21:33    [W:0.367 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site