[linux-yocto] [PATCH 07/13] x86, vdso: __vdso_clock_gettime() cleanup

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit ce39c64028a075d14af32bfb8336bfe1370c0443 upstream This patch is a small code cleanup for the __vdso_clock_gettime() function. It removes the unneeded return values from do_monotonic_coarse() and do_realtime_coarse() and add a fallback label for

[linux-yocto] [PATCH 01/13] x86, vdso: Remove compat vdso support

2014-07-31 Thread jianchuan.wang
From: Andy Lutomirski l...@amacapital.net commit b0b49f2673f011cad7deeabf7a683b388c351278 upstream The compat vDSO is a complicated hack that's needed to maintain compatibility with a small range of glibc versions. This removes it and replaces it with a much simpler hack: a config option to

[linux-yocto] [PATCH] [RFC] cgroups: Resource controller for open files

2014-07-31 Thread zhe.he
From: He Zhe zhe...@windriver.com Add a resource controller for limiting the number of open file handles. This allows us to catch misbehaving processes and return EMFILE instead of ENOMEM for kernel memory limits. Signed-off-by: Binder Makin meri...@google.com Port from lkml:

[linux-yocto] [PATCH] cgroups: enable file handles resource controller

2014-07-31 Thread zhe.he
From: He Zhe zhe...@windriver.com Enable file handles resource controller for convenience Signed-off-by: He Zhe zhe...@windriver.com --- meta/cfg/kernel-cache/features/cgroups/cgroups.cfg |1 + 1 file changed, 1 insertion(+) diff --git a/meta/cfg/kernel-cache/features/cgroups/cgroups.cfg

[linux-yocto] [PATCH 02/13] x86_32, mm: Remove user bit from identity map PDE

2014-07-31 Thread jianchuan.wang
From: Andy Lutomirski l...@amacapital.net commit 7dda038756704b3562187b29c81f86de935148c6 upstream The only reason that the user bit was set was to support userspace access to the compat vDSO in the fixmap. The compat vDSO is gone, so the user bit can be removed. Signed-off-by: Andy

[linux-yocto] [PATCH 04/13] x86, vdso: Make vsyscall_gtod_data handling x86 generic

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit d2312e3379d581d2c3603357a0181046448e1de3 upstream 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

[linux-yocto] [PATCH 09/13] x86, vdso: Cleanup __vdso_gettimeofday()

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit 0df1ea2b7955d3cb311a549c44ed482452b859ff upstream This patch cleans up the __vdso_gettimeofday() function a little. It kicks out an unneeded ret local variable and makes the code faster if only the timezone is needed (an admittedly rare case.)

[linux-yocto] [PATCH 08/13] x86, vdso: Replace VVAR(vsyscall_gtod_data) by gtod macro

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit af8c93d8d9809c3cf71cae2c398069399e64efa3 upstream There a currently more than 30 users of the gtod macro, so replace the last VVAR(vsyscall_gtod_data) by gtod macro. Reviewed-by: Andy Lutomirski l...@amacapital.net Signed-off-by: Stefani Seibold

[linux-yocto] [PATCH] vdso: Delete CONFIG_COMPAT_VDSO after removing compat vdso

2014-07-31 Thread jianchuan.wang
From: Jianchuan Wang jianchuan.w...@windriver.com --- meta/cfg/kernel-cache/features/vdso/vdso.cfg |1 + meta/cfg/kernel-cache/features/vdso/vdso.scc |1 + 2 files changed, 2 insertions(+) create mode 100644 meta/cfg/kernel-cache/features/vdso/vdso.cfg create mode 100644

[linux-yocto] [PATCH 1/2] [RFC]cgroups: Resource controller for open files.

2014-07-31 Thread zhe.he
From: Binder Makin meri...@google.com lkml https://lkml.org/lkml/2014/7/2/640 upstream Add a resource controller for limiting the number of open file handles. This allows us to catch misbehaving processes and return EMFILE instead of ENOMEM for kernel memory limits. Signed-off-by: Binder Makin

[linux-yocto] [PATCH 2/2] Fix [RFC] cgroups: Resource controller for open files.

2014-07-31 Thread zhe.he
From: He Zhe zhe...@windriver.com The original patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fad01e866afdbe01a1f3ec06a39c3a8b9e197014 3.15-rc8 Modify variable and macro in fs/filescontrol.c and include/linux/cgroup_subsys.h according to target version.

[linux-yocto] [PATCH 1/2] [RFC]cgroups: Resource controller for open files.

2014-07-31 Thread zhe.he
From: Binder Makin meri...@google.com Add a resource controller for limiting the number of open file handles. This allows us to catch misbehaving processes and return EMFILE instead of ENOMEM for kernel memory limits. Signed-off-by: Binder Makin meri...@google.com --- fs/Makefile

Re: [linux-yocto] [PATCH] [RFC] cgroups: Resource controller for open files

2014-07-31 Thread He Zhe
On 07/30/2014 11:06 AM, Bruce Ashfield wrote: On 2014-07-29, 1:58 AM, zhe...@windriver.com wrote: From: He Zhe zhe...@windriver.com How did you extract this patch from the mailing list ? The From: field should not be changing, since you aren't the original author of the patch. I've

[linux-yocto] [PATCH 2/2] Fix [RFC] cgroups: Resource controller for open files.

2014-07-31 Thread zhe.he
From: He Zhe zhe...@windriver.com The original patch is based on: git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git fad01e866afdbe01a1f3ec06a39c3a8b9e197014 3.15-rc8 Modify variable and macro in fs/filescontrol.c and include/linux/cgroup_subsys.h according to target version.

[linux-yocto] [PATCH 10/13] x86, vdso: Introduce VVAR marco for vdso32

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit ef721987aef0cc0abba08c88810f2155f76b0b1f upstream This patch revamps the vvar.h for introduce the VVAR macro for vdso32. Reviewed-by: Andy Lutomirski l...@amacapital.net Signed-off-by: Stefani Seibold stef...@seibold.net Link:

[linux-yocto] [PATCH 06/13] x86, vdso: Revamp vclock_gettime.c

2014-07-31 Thread jianchuan.wang
From: Stefani Seibold stef...@seibold.net commit 411f790cd7e91fac0db80d3cf789cb6deeac298e upstream This intermediate patch revamps the vclock_gettime.c by moving some functions around. It is only for spliting purpose, to make whole the 32 bit vdso timer patch easier to review. Reviewed-by: Andy

[linux-yocto] [PATCH 03/13] x86, vdso, xen: Remove stray reference to FIX_VDSO

2014-07-31 Thread jianchuan.wang
From: H. Peter Anvin h...@linux.intel.com commit 1f2cbcf648962cdcf511d234cb39745baa9f5d07 upstream Checkin b0b49f2673f0 x86, vdso: Remove compat vdso support ... removed the VDSO from the fixmap, and thus FIX_VDSO; remove a stray reference in Xen. Found by Fengguang Wu's test robot.

Re: [linux-yocto] [PATCH 0/23] Refresh hugetlb kernel code

2014-07-31 Thread Bruce Ashfield
On 14-07-30 10:16 PM, Yang Shi wrote: Refresh kernel hugetlb up to 3.16. Brought in 23 commits. 6915d46 fs/hugetlbfs/inode.c: remove null test before kfree 1b337c3 fs/hugetlbfs/inode.c: use static const for dentry_operations 38d1f0c fs/hugetlbfs/inode.c: add static to