Messages in this thread | | | Date | Sat, 4 Sep 2004 12:11:22 +0100 | From | Christoph Hellwig <> | Subject | Re: [PATCH 4/4][diskdump] x86-64 support |
| |
On Tue, Aug 31, 2004 at 06:10:40PM +0900, Takao Indoh wrote: > >a spin_trylock would be safe. hd can't be NULL. > > Could you explain to me why spin_is_locked is not safe?
it's inherently racy. Also it's always return 0 on UP systems which makes it totally useless there.
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |