lkml.org 
[lkml]   [2008]   [Apr]   [28]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] x86_64 vDSO: use initdata

* Roland McGrath <roland@redhat.com> wrote:

> The 64-bit vDSO image is in a special ".vdso" section for no reason I
> can determine. Furthermore, the location of the vdso_end symbol
> includes some wrongly-calculated padding space in the image, which is
> then (correctly) rounded to page size, resulting in an extra page of
> zeros in the image mapped in to user processes.
>
> This changes it to put the vdso.so image into normal initdata as we
> have always done for the 32-bit vDSO images. The extra padding is
> gone, so the user VMA is one page instead of two. The image that was
> already copied around at boot time is now in initdata, so we recover
> that wasted space after boot.

thanks Roland, applied. I suspect this will need a few days of test-time
as we change the user-space vma layout. (not in material ways though)

Ingo


\
 
 \ /
  Last update: 2008-04-28 15:17    [W:0.050 / U:0.904 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site