[Top] [All Lists]

Re: [PATCH 1/2] MIPS: Preliminary vdso.

To: Shane McDonald <>
Subject: Re: [PATCH 1/2] MIPS: Preliminary vdso.
From: David Daney <>
Date: Wed, 22 Apr 2009 08:18:34 -0700
In-reply-to: <>
Original-recipient: rfc822;
References: <> <> <>
User-agent: Thunderbird (X11/20090320)
Shane McDonald wrote:
Hello David:

On Tue, Apr 21, 2009 at 3:33 PM, David Daney < <>> wrote:

    This is a preliminary patch to add a vdso to all user processes.
    Still missing are ELF headers and .eh_frame information.  But it is
    enough to allow us to move signal trampolines off of the stack.

    We allocate a single page (the vdso) and write all possible signal
    trampolines into it.  The stack is moved down by one page and the vdso
    is mapped into this space.

This patch fails to compile for me with an RM7035C-based system (out of tree, sadly). The error I see is:

  CC      arch/mips/kernel/syscall.o
arch/mips/kernel/syscall.c: In function 'arch_get_unmapped_area':
arch/mips/kernel/syscall.c:80: error: 'TASK_SIZE32' undeclared (first use in this function) arch/mips/kernel/syscall.c:80: error: (Each undeclared identifier is reported only once
arch/mips/kernel/syscall.c:80: error: for each function it appears in.)
make[1]: *** [arch/mips/kernel/syscall.o] Error 1

I never built a 32-bit kernel with the patch.  I will endeavor to fix this.

David Daney

<Prev in Thread] Current Thread [Next in Thread>