[PATCH 11/17] uml: move outside spinlock call not needing it
- From: "Paolo 'Blaisorblade' Giarrusso" <blaisorblade@xxxxxxxx>
- Date: Fri, 07 Apr 2006 16:31:15 +0200
From: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
Move a call to kfree on a local variable out of a spinlock - there's no need to
have it in. Done on a just merged patch.
Signed-off-by: Paolo 'Blaisorblade' Giarrusso <blaisorblade@xxxxxxxx>
---
arch/um/os-Linux/sigio.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/arch/um/os-Linux/sigio.c b/arch/um/os-Linux/sigio.c
index 9ba9429..00e9388 100644
--- a/arch/um/os-Linux/sigio.c
+++ b/arch/um/os-Linux/sigio.c
@@ -304,8 +304,8 @@ out_clear_poll:
.size = 0,
.used = 0 });
out_free:
- kfree(p);
sigio_unlock();
+ kfree(p);
out_close2:
close(l_sigio_private[0]);
close(l_sigio_private[1]);
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
- References:
- [PATCH 00/17] Uml little fixups for new and existing code [for 2.6.17]
- From: Paolo 'Blaisorblade' Giarrusso
- [PATCH 00/17] Uml little fixups for new and existing code [for 2.6.17]
- Prev by Date: [PATCH 01/17] uml: make 64-bit COW files compatible with 32-bit ones.
- Next by Date: Re: [patch] ipv4: initialize arp_tbl rw lock
- Previous by thread: [PATCH 01/17] uml: make 64-bit COW files compatible with 32-bit ones.
- Next by thread: [PATCH 14/17] uml: fix big stack user
- Index(es):