Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-02-01 Thread Andy Lutomirski
On Sat, Feb 1, 2014 at 7:32 AM, wrote: > From: Stefani Seibold > > This patch move the vsyscall_gtod_data handling out of vsyscall_64.c > into an additonal file vsyscall_gtod.c to make the functionality > available for x86 32 bit kernel. > > It also adds a new vsyscall_32.c which setup the VVAR

[PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-02-01 Thread stefani
From: Stefani Seibold This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold --- arch/x86/

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-02-01 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 16:10 -0800 schrieb Andi Kleen: > > @@ -1335,7 +1335,6 @@ config ARCH_SPARSEMEM_ENABLE > > > > config ARCH_SPARSEMEM_DEFAULT > > def_bool y > > - depends on X86_64 > > Is that really needed? Why does the vdso need sparsemem? > No, it is from the previous p

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Andi Kleen
> @@ -1335,7 +1335,6 @@ config ARCH_SPARSEMEM_ENABLE > > config ARCH_SPARSEMEM_DEFAULT > def_bool y > - depends on X86_64 Is that really needed? Why does the vdso need sparsemem? > > static inline void __user *arch_compat_alloc_user_space(long len) > { > +#ifdef CONFIG_X86_32 > +

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 11:51 -0800 schrieb Andy Lutomirski: > On Thu, Jan 30, 2014 at 11:27 AM, Stefani Seibold wrote: > > Am Donnerstag, den 30.01.2014, 10:05 -0800 schrieb Andy Lutomirski: > >> On Thu, Jan 30, 2014 at 2:49 AM, wrote: > >> > diff --git a/arch/x86/include/asm/compat.h >

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Andy Lutomirski
On Thu, Jan 30, 2014 at 11:27 AM, Stefani Seibold wrote: > Am Donnerstag, den 30.01.2014, 10:05 -0800 schrieb Andy Lutomirski: >> On Thu, Jan 30, 2014 at 2:49 AM, wrote: >> > diff --git a/arch/x86/include/asm/compat.h b/arch/x86/include/asm/compat.h >> > index 59c6c40..45ba688 100644 >> > --- a/

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Stefani Seibold
Am Donnerstag, den 30.01.2014, 10:05 -0800 schrieb Andy Lutomirski: > On Thu, Jan 30, 2014 at 2:49 AM, wrote: > > diff --git a/arch/x86/include/asm/compat.h b/arch/x86/include/asm/compat.h > > index 59c6c40..45ba688 100644 > > --- a/arch/x86/include/asm/compat.h > > +++ b/arch/x86/include/asm/com

Re: [PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread Andy Lutomirski
On Thu, Jan 30, 2014 at 2:49 AM, wrote: > From: Stefani Seibold > > This patch move the vsyscall_gtod_data handling out of vsyscall_64.c > into an additonal file vsyscall_gtod.c to make the functionality > available for x86 32 bit kernel. > > It also adds a new vsyscall_32.c which setup the VVAR

[PATCH 1/4] Make vsyscall_gtod_data handling x86 generic

2014-01-30 Thread stefani
From: Stefani Seibold This patch move the vsyscall_gtod_data handling out of vsyscall_64.c into an additonal file vsyscall_gtod.c to make the functionality available for x86 32 bit kernel. It also adds a new vsyscall_32.c which setup the VVAR page. Signed-off-by: Stefani Seibold --- arch/x86/