Re: [PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Borislav Petkov
On Mon, Mar 04, 2013 at 01:45:20PM -0800, Andy Lutomirski wrote: > vsyscalls are only 4k. Am I missing something obvious her? Right, but we're reserving 5 level2 pages for this, i.e. 5*512*4K = 10M. I.e., each level2 page contains 512 ptes, each pointing to a 4K page. arch/x86/kernel/head_64.S:

Re: [PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Andy Lutomirski
On 03/04/2013 12:16 PM, Borislav Petkov wrote: > Add the end of the virtual address space to its layout documentation. > > Signed-off-by: Borislav Petkov > --- > Documentation/x86/x86_64/mm.txt | 4 +++- > 1 file changed, 3 insertions(+), 1 deletion(-) > > diff --git a/Documentation/x86/x86_64/

[PATCH 3/5] x86-64, docs, mm: Add vsyscall range to virtual address space layout

2013-03-04 Thread Borislav Petkov
Add the end of the virtual address space to its layout documentation. Signed-off-by: Borislav Petkov --- Documentation/x86/x86_64/mm.txt | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Documentation/x86/x86_64/mm.txt b/Documentation/x86/x86_64/mm.txt index d6498e3cd713..88