[PATCH] USB: gadget: g_mass_storage: static data instead of dynamic allocation
From: Michal Nazarewicz <mina86(a)mina86.com> This patch changes msg_do_config() function so that it uses a static object for a fsg_common structure instead of dynamically allocated. This is a micro-optimisation. Signed-off-by: Michal Nazarewicz <mina86(a)mina86.com> Cc: Kyungmin Park <kyungmin.park(a)samsung.com> ... 17 May 2010 05:52
swiotlb v0.8: seperation of physical/virtual address translation
On Tue, 11 May 2010 11:39:07 -0400 Konrad Rzeszutek Wilk <konrad.wilk(a)oracle.com> wrote: git://git.kernel.org/pub/scm/linux/kernel/git/konrad/swiotlb-2.6.git swiotlb-0.8 include/linux/swiotlb.h | 27 ++++++++- lib/swiotlb.c | 140 ++++++++++++++++++++++++++++------------------- 2 files ... 17 May 2010 05:52
[PATCH v2] leds-lp3944: properly handle lp3944_configure fail in lp3944_probe
In current implementation, lp3944_probe return 0 even if lp3944_configure fail. Therefore, led_classdev_unregister will be executed twice ( in error handling of lp3944_configure and lp3944_remove ). This patch properly handles lp3944_configure fail in lp3944_probe. Signed-off-by: Axel Lin <axel.lin(a)gmail.com> --... 17 May 2010 05:52
Convert KVM to use FPU API
On 05/17/2010 12:08 PM, Sheng Yang wrote: Change from v1: Use unlazy_fpu() to handle host FPU, avoiding save/restore of host FPU states. Looks good, will wait a bit for more reviews and apply. -- Do not meddle in the internals of kernels, for they are subtle and quick to panic. -- To unsubsc... 19 May 2010 12:40
[PATCH][v2 1/3] x86: Export FPU API for KVM use
Also add some constants. Signed-off-by: Sheng Yang <sheng(a)linux.intel.com> --- arch/x86/include/asm/i387.h | 2 ++ arch/x86/include/asm/xsave.h | 3 +++ arch/x86/kernel/i387.c | 3 ++- arch/x86/kernel/process.c | 1 + 4 files changed, 8 insertions(+), 1 deletions(-) diff --git a/arch/... 17 May 2010 05:52
leds-lp3944: properly handle lp3944_configure fail in lp3944_probe
On Mon, May 17, 2010 at 11:15:13AM +0200, Antonio Ospite wrote: On Mon, 17 May 2010 09:34:02 +0800 Axel Lin <axel.lin(a)gmail.com> wrote: In current implementation, lp3944_probe return 0 even if lp3944_configure fail. Therefore, led_classdev_unregister will be executed twice ( in error handling of lp3... 17 May 2010 05:52
[PATCH][v2 2/3] KVM: x86: Use unlazy_fpu() for host FPU
We can avoid unnecessary fpu load when userspace process didn't use FPU frequently. Derived from Avi's idea. Signed-off-by: Sheng Yang <sheng(a)linux.intel.com> --- arch/x86/include/asm/kvm_host.h | 1 - arch/x86/kvm/x86.c | 18 ++---------------- 2 files changed, 2 insertions(+), 17 deletio... 17 May 2010 05:52
x86: Export FPU API for KVM use
On 05/17/2010 12:08 PM, Sheng Yang wrote: Also add some constants. +++ b/arch/x86/kernel/process.c @@ -28,6 +28,7 @@ unsigned long idle_nomwait; EXPORT_SYMBOL(idle_nomwait); struct kmem_cache *task_xstate_cachep; +EXPORT_SYMBOL(task_xstate_cachep); int arch_dup_task_struct(stru... 17 May 2010 05:52
leds-lp3944: properly handle lp3944_configure fail in lp3944_probe
On Mon, 17 May 2010 09:34:02 +0800 Axel Lin <axel.lin(a)gmail.com> wrote: In current implementation, lp3944_probe return 0 even if lp3944_configure fail. Therefore, led_classdev_unregister will be executed twice ( in error handling of lp3944_configure and lp3944_remove ). This patch properly handles lp3944_co... 17 May 2010 05:52
[PATCH][v2 0/3] Convert KVM to use FPU API
Change from v1: Use unlazy_fpu() to handle host FPU, avoiding save/restore of host FPU states. Sheng Yang (3): x86: Export FPU API for KVM use KVM: x86: Use unlazy_fpu() for host FPU KVM: x86: Use FPU API arch/x86/include/asm/i387.h | 2 + arch/x86/include/asm/kvm_host.h | 18 +--------- arc... 17 May 2010 05:52