pci: Don't enable aspm before drivers have had a chance to veto it
On 06/15/2010 05:18 PM, Matthew Garrett wrote: On Tue, Jun 15, 2010 at 05:11:59PM +0200, Tomas Henzl wrote: Matthew, isn't it so that the POLICY_DEFAULT will pass the above test and possibly switch the ASPM on? Yes. We assume that the BIOS authors aren't actively malicious. I orig... 15 Jun 2010 12:02
pci: Don't enable aspm before drivers have had a chance to veto it
On Tue, Jun 15, 2010 at 05:11:59PM +0200, Tomas Henzl wrote: Matthew, isn't it so that the POLICY_DEFAULT will pass the above test and possibly switch the ASPM on? Yes. We assume that the BIOS authors aren't actively malicious. -- Matthew Garrett | mjg59(a)srcf.ucam.org -- To unsubscribe from this list:... 15 Jun 2010 12:02
trace-cmd: prevent print_graph_duration buffer overflow
Quick note. Please send to my rostedt(a)goodmis.org address. I may not see messages here for weeks at a time. I author patches with my RH account just to "advertise" who I work for. But I sign-off-by with the account I want people to send to. On Tue, 2010-06-15 at 10:47 -0400, Chase Douglas wrote: Passing n > ... 15 Jun 2010 12:02
[PATCH v2] trace-cmd: prevent print_graph_duration buffer overflow
Passing n > sizeof(string) to snprintf can cause a glibc buffer overflow condition. We know the exact size of nsecs_str, so use it along with the the math to determine the longest string size we want. Note that an overflow isn't really possible given the format of the string. However, glibc would abort due to a r... 15 Jun 2010 10:55
[PATCH] drivers: vt: clean up the code - use kernel library
From: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> Cc: Andrew Morton <akpm(a)linux-foundation.org> Cc: Greg Kroah-Hartman <gregkh(a)suse.de> Cc: Alan Cox <alan(a)linux.intel.com> --- drivers/char/vt.c | 5 +++-- 1 files changed, 3 insertions(+... 15 Jun 2010 10:55
[PATCH] staging: don't use custom hex_to_bin() implementation
From: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> Cc: Greg Kroah-Hartman <gregkh(a)suse.de> Cc: devel(a)driverdev.osuosl.org --- drivers/staging/comedi/drivers/jr3_pci.c | 17 +++++++++-------- drivers/staging/rtl8192su/r8192S_Efuse.c | 19 ... 15 Jun 2010 10:55
[PATCH] drivers: net: use new hex_to_bin() method
From: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> Get rid of own implementation of hex_to_bin(). Signed-off-by: Andy Shevchenko <ext-andriy.shevchenko(a)nokia.com> Acked-by: Divy Le Ray <divy(a)chelsio.com> Cc: Andrew Morton <akpm(a)linux-foundation.org> --- drivers/net/cxgb3/t3_hw.c | 16 ++++------------ ... 15 Jun 2010 10:55
[RFC][PATCH 9/9] make kvm mmu shrinker more aggressive
In a previous patch, we removed the 'nr_to_scan' tracking. It was not being used to track the number of objects scanned, so we stopped using it entirely. Here, we strart using it again. The theory here is simple; if we already have the refcount and the kvm->mmu_lock, then we should do as much work as possibl... 15 Jun 2010 10:55
[RFC][PATCH 8/9] reduce kvm_lock hold times in mmu_skrink()
mmu_shrink() is effectively single-threaded since the global kvm_lock is held over the entire function. I beleive its only use here is for synchronization of the vm_list. Instead of using the kvm_lock to ensure consistency of the list, we instead obtain a kvm_get_kvm() reference. This keeps the kvm object on... 15 Jun 2010 10:55
[RFC][PATCH 7/9] make kvm_get_kvm() more robust
The comment tells most of the story here. This patch guarantees that once a user decrements kvm->users_count to 0 that no one will increment it again. We'll need this in a moment because we are going to use kvm->users_count as a more generic refcount. Signed-off-by: Dave Hansen <dave(a)linux.vnet.ibm.com> --... 15 Jun 2010 10:55