[lkml]   [2004]   [Sep]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [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
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 14:05    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean