All of lore.kernel.org
 help / color / mirror / Atom feed
From: Yinghai Lu <yinghai@kernel.org>
To: "H. Peter Anvin" <hpa@zytor.com>
Cc: Jeremy Fitzhardinge <jeremy@goop.org>,
	Linux Kernel Mailing List <linux-kernel@vger.kernel.org>
Subject: Re: Latest brk patchset
Date: Sat, 14 Mar 2009 22:33:51 -0700	[thread overview]
Message-ID: <49BC933F.3090507@kernel.org> (raw)
In-Reply-To: <49BC8955.5070009@zytor.com>

H. Peter Anvin wrote:
> Yinghai Lu wrote:
>> H. Peter Anvin wrote:
>>> On this subject, what is the point of the 64 K "slop space", and if it
>>> is necessary, why not just put it as a RESERVE_BRK() somewhere (*with* a
>>>  significant comment as to its necessity) instead of putting it as a
>>> hack in the linker script?
>>>
>>
>> 32bit already have that
>>
>> +INIT_MAP_SIZE = (PAGE_TABLE_SIZE + ALLOCATOR_SLOP) * PAGE_SIZE_asm
>> +RESERVE_BRK(pagetables, INIT_MAP_SIZE)
>>
>> in head_32.S
>>
>> so need to update vmlinux_32.lds.S
>>
> 
> What about 64 bits?  Also, do we really need the "allocator slop", or
> can we push that into the user location, which is where it really
> belongs?  What does use this?

64 bit does not has this problem.
32 bit we already removed bootmem there, that is not needed. 

ALLOCATOR_SLOP is needed...

+ *     (KERNEL_IMAGE_SIZE/4096) / 1024 pages (worst case, non PAE)
+ *     (KERNEL_IMAGE_SIZE/4096) / 512 + 4 pages (worst case for PAE)


YH

  reply	other threads:[~2009-03-15  5:34 UTC|newest]

Thread overview: 51+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-03-14 23:43 Latest brk patchset H. Peter Anvin
2009-03-15  0:32 ` Jeremy Fitzhardinge
2009-03-15  0:37   ` H. Peter Anvin
2009-03-15  6:09     ` Jeremy Fitzhardinge
2009-03-15  6:29     ` Jeremy Fitzhardinge
2009-03-15 20:38       ` [crash] " Ingo Molnar
2009-03-15 20:42         ` Ingo Molnar
2009-03-15 21:19         ` Jeremy Fitzhardinge
2009-03-15 21:28           ` Ingo Molnar
2009-03-15 23:28             ` Jeremy Fitzhardinge
2009-03-16  8:54               ` Ingo Molnar
2009-03-16 16:12                 ` Jeremy Fitzhardinge
2009-03-16 16:56                   ` Yinghai Lu
2009-03-16 17:20                     ` Jeremy Fitzhardinge
2009-03-16 17:54                     ` Jeremy Fitzhardinge
2009-03-16 18:15                       ` H. Peter Anvin
2009-03-16 18:17                       ` Yinghai Lu
2009-03-16 18:22                         ` H. Peter Anvin
2009-03-16 18:31                           ` Yinghai Lu
2009-03-16 18:17                       ` H. Peter Anvin
2009-03-16 19:25                         ` Jeremy Fitzhardinge
2009-03-16 19:34                           ` H. Peter Anvin
2009-03-16 19:48                           ` Yinghai Lu
2009-03-16 20:00                             ` Jeremy Fitzhardinge
2009-03-16 20:26                               ` H. Peter Anvin
2009-03-16 20:59                                 ` Jeremy Fitzhardinge
2009-03-16 21:14                                   ` H. Peter Anvin
2009-03-16 21:31                                     ` Jeremy Fitzhardinge
2009-03-16 22:35                                       ` H. Peter Anvin
2009-03-17  2:26                                         ` Yinghai Lu
2009-03-17  4:00                                           ` H. Peter Anvin
2009-03-17  5:07                                             ` Jeremy Fitzhardinge
2009-03-17 16:04                                               ` H. Peter Anvin
2009-03-17 19:42                                                 ` Jeremy Fitzhardinge
2009-03-17 19:45                                                   ` H. Peter Anvin
2009-03-17 19:59                                                     ` Jeremy Fitzhardinge
2009-03-17 21:19                                                       ` Yinghai Lu
2009-03-17 21:28                                                         ` Jeremy Fitzhardinge
2009-03-17 19:47                                                 ` Jeremy Fitzhardinge
2009-03-22 15:09                 ` Ingo Molnar
2009-03-22 17:12                   ` Jeremy Fitzhardinge
2009-03-22 17:22                     ` Ingo Molnar
2009-03-22 21:48                       ` Jeremy Fitzhardinge
2009-03-23 16:39                         ` [tip:x86/setup] x86/dmi: fix dmi_alloc() section mismatches Jeremy Fitzhardinge
2009-03-15  1:37   ` Latest brk patchset H. Peter Anvin
2009-03-15  4:43     ` Yinghai Lu
2009-03-15  4:51       ` H. Peter Anvin
2009-03-15  5:33         ` Yinghai Lu [this message]
2009-03-15  6:05           ` Jeremy Fitzhardinge
2009-03-15  6:25             ` Yinghai Lu
2009-03-15  6:03     ` Jeremy Fitzhardinge

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=49BC933F.3090507@kernel.org \
    --to=yinghai@kernel.org \
    --cc=hpa@zytor.com \
    --cc=jeremy@goop.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.