[PATCH] AFS: Fix possible null pointer dereference in afs_alloc_server()
From: Denis Kirjanov <dkirjanov(a)hera.kernel.org> Fix a possible null pointer dereference in afs_alloc_server(): the server pointer is NULL if there was an allocation failure, and under such a condition, we can't dereference it in the _leave() statement. Signed-off-by: Denis Kirjanov <dkirjanov(a)kernel.org> Sign... 1 Jun 2010 13:05
[PATCH 1/2] squashfs: xattr_handler don't inline
Don't need to explicitly inline this function, it causes a sparse warning; and GCC will inline it already. Signed-off-by: Stephen Hemminger <shemminger(a)vyatta.com> --- Patch against 2.6.35-rc1 --- a/fs/squashfs/xattr.c 2010-06-01 08:38:44.659739327 -0700 +++ b/fs/squashfs/xattr.c 2010-06-01 08:39:29.7313264... 1 Jun 2010 13:05
use unfair spinlock when running on hypervisor.
Gleb Natapov <gleb(a)redhat.com> writes: The patch below allows to patch ticket spinlock code to behave similar to old unfair spinlock when hypervisor is detected. After patching unlocked The question is what happens when you have a system with unfair memory and you run the hypervisor on that. There it could... 3 Jun 2010 14:31
sched: adjust when cpu_active and cpuset configurations are updated during cpu on/offlining
On Mon, 2010-05-31 at 20:56 +0200, Tejun Heo wrote: Currently, when a cpu goes down, cpu_active is cleared before CPU_DOWN_PREPARE starts and cpuset configuration is updated from a default priority cpu notifier. When a cpu is coming up, it's set before CPU_ONLINE but cpuset configuration again is updated f... 4 Jun 2010 09:12
Documentation/timers/hpet_example.c: only build on X64
On Mon, 31 May 2010, Randy Dunlap wrote: We should only build hpet_example on X64, where it is implemented. It can cause build errors on other arch-es. Both the subject and the body say "X64" (don't use that, btw, it's x86-64, please), but the patch itself says CONFIG_X86. So what is it? Is it an... 1 Jun 2010 13:05
kbuild changes for 2.6.35
On Mon, 31 May 2010, Michal Marek wrote: I refuse to take stuff like this. If I don't know why somethign happens, I don't want to pull it. Sorry, here is a more complete description of the changes. Alternatively, would you pull a branch with the section rename stuff taken out? No, t... 1 Jun 2010 16:24
afs: fix possible null pointer dereference in afs_alloc_server
Denis Kirjanov <dkirjanov(a)hera.kernel.org> wrote: Fix possible null pointer dereference since kzalloc can return null This should really be merged into the preceding if-statement. David -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo(a)vger.ke... 1 Jun 2010 11:58
drivers/block/cciss_scsi.c: Remove unnecessary kmalloc casts
-----Original Message----- From: Joe Perches [mailto:joe(a)perches.com] Sent: Monday, May 31, 2010 10:23 PM To: linux-kernel(a)vger.kernel.org Cc: Miller, Mike (OS Dev); ISS StorageDev Subject: [PATCH 04/21] drivers/block/cciss_scsi.c: Remove unnecessary kmalloc casts Signed-off-by: Joe Pe... 1 Jun 2010 11:58
[PATCH 8/8] edac, mc: Improve scrub rate handling
Fortify the interface to not accept negative values, remove memctrl_int_store() as a result. Also, sanitize bandwidth setting by making the argument a simple u32 instead of strange u32 pointer being passed around for no obvious reason. Then, fix error handling and teach it to return proper error values. Finally, ma... 1 Jun 2010 11:58
[PATCHv3 0/2] virtio: put last seen used index into ring itself
Changes from v2: added padding between avail idx and flags, and changed virtio to only publish used index when callbacks are enabled. Here's a rewrite of the original patch with a new layout. I haven't tested it yet so no idea how this performs, but I think this addresses the cache bounce issue raised by Avi. P... 1 Jun 2010 11:58