[PATCH 2/7] perf trace: Correctly handle arrays
From: Ian Munsie <imunsie(a)au1.ibm.com> Previously, perf was assuming that an array from an ftrace event was an array of longs, which will not always be the case. Additionally, long_size is not even being initialised, so it would fail to read the data and would erroneously report that the array was filled with zer... 13 May 2010 02:53
[PATCH, RFC] addjust discard request to be aligned with hwsect size to support SSDs with larger sector size
The currect blkdev_issue_discard() function assumes 512 sector size. We have seen some problem when using discard on a SSD that has larger sector size. The following patch adjusts the starting address and size of a discard request to be aligned with hwsect size. Signed-off-by: Jiaying Zhang <jiayingz(a)google.com> ... 13 May 2010 01:49
[PATCH] Staging: saa7134-go7007: replace dma_sync_single with dma_sync_single_for_cpu
dma_sync_single() is deprecated and will be removed soon. No functional change since dma_sync_single is the wrapper of dma_sync_single_for_cpu. saa7134-go7007.c is commented out but anyway let's replace it. Signed-off-by: FUJITA Tomonori <fujita.tomonori(a)lab.ntt.co.jp> --- drivers/staging/go7007/saa7134-go... 13 May 2010 00:44
[PATCH] FIXED: arch/x86/kernel/hpet.c: /* FIXME: add schedule_work_on() */
Changed schedule_delayed_work_on for schedule_work_on by using work instead of delayed work, because the delayed work was used with delay 0. Signed-off-by: Leonardo de Sá Alt <leonardoaltt(a)gmail.com> --- arch/x86/kernel/hpet.c | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/arc... 13 May 2010 00:44
linux-next: manual merge of the kvm tree with Linus' tree
Hi all, Today's linux-next merge of the kvm tree got a conflict in kernel/fork.c between commit 34441427aab4bdb3069a4ffcda69a99357abcb2e ("revert "procfs: provide stack information for threads" and its fixup commits") from Linus' tree and commit faa4602e47690fb11221e00f9b9697c8dc0d4b19 ("x86, perf, bts, mm: Dele... 13 May 2010 00:44
inotify: race use after free/double free in inotify inode marks
On Wed, 12 May 2010 12:08:00 -0400 Eric Paris <eparis(a)redhat.com> wrote: From: root <root(a)tyan-gt24-04.rhts.eng.bos.redhat.com> hm. There is a race in the inotify add/rm watch code. A task can find and remove a mark which doesn't have all of it's references. This can result in a use after free/doub... 13 May 2010 08:16
linux-next: manual merge of the v4l-dvb tree
Hi Mauro, Today's linux-next merge of the v4l-dvb tree produced a mountain of conflicts so I have used the version from next-20100512 for today. Please either merge Linus' tree into yours or rebase you tree on top of Linus' tree. There are a large number of commits that are in your tree that have been rebased b... 13 May 2010 02:53
vmscan: page_check_references() check low order lumpy reclaim properly
> > @@ -77,6 +77,8 @@ struct scan_control { int order; + int lumpy_reclaim; + Needs a comment explaining its role, please. Something like "direct this reclaim run to perform lumpy reclaim"? A clearer name might be "lumpy_relcaim_mode"? Making it a `bool' would cla... 12 May 2010 23:39
[PATCH 2/2] pci: allow sysfs file owner to read device dependent config space
The PCI config space bin_attr read handler has a hardcoded CAP_SYS_ADMIN check to verify privileges before allowing a user to read device dependent config space. This is meant to protect from an unprivileged user potentially locking up the box. When assigning a PCI device directly to a guest with libvirt and KVM... 12 May 2010 23:39
rwsem: wake queued readers when other readers are active
On Wed, May 12, 2010 at 5:22 AM, David Howells <dhowells(a)redhat.com> wrote: Michel Lespinasse <walken(a)google.com> wrote: In this situation, it would be perfectly fine to let threads B and C work in parallel as they each only want a read acquire on the rwsem. We can recognize this situation and let A w... 13 May 2010 02:53