[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <531DFAF0.9070806@linux.intel.com>
Date: Mon, 10 Mar 2014 10:48:32 -0700
From: "H. Peter Anvin" <hpa@...ux.intel.com>
To: Andy Lutomirski <luto@...capital.net>
CC: Linus Torvalds <torvalds@...ux-foundation.org>,
Linux Kernel Mailing List <linux-kernel@...r.kernel.org>,
Stefani Seibold <stefani@...bold.net>,
Andreas Brief <Andreas.Brief@...de-schwarz.com>,
Martin Runge <Martin.Runge@...de-schwarz.com>
Subject: Re: [x86, vdso] BUG: unable to handle kernel paging request at d34bd000
On 03/10/2014 10:46 AM, Andy Lutomirski wrote:
>>
>> Yes, we'd have to switch the vdso to using syscall access. Doing that
>> from inside a system call is... "interesting".
>
> It's a little less interesting if it just involves changing a vma.
> It's still tricky, though -- would each struct mm have its own struct
> file for the vvar page? Can this be done with some
> vm_operations_struct magic? There are possible races, too, though --
> another thread could access the thing concurrently with a syscall.
>
Hint: where is your RIP? Where is the RIP of other processes?
-hpa
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists