Re: Sparse "context" checking..
From: Roland Dreier (roland_at_topspin.com)
Date: 10/31/04
- Previous message: Kay Sievers: "Re: [Patch] 2.6.10.rc1.bk6 /lib/kobject_uevent.c buffer issues"
- In reply to: Linus Torvalds: "Sparse "context" checking.."
- Next in thread: Linus Torvalds: "Re: Sparse "context" checking.."
- Reply: Linus Torvalds: "Re: Sparse "context" checking.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Linus Torvalds <torvalds@osdl.org> Date: Sat, 30 Oct 2004 21:11:24 -0700
Linus> In particular, this is designed for doing things like
Linus> matching up a "lock" with the pairing "unlock", and right
Linus> now that's exactly what the code does: it makes each
Linus> spinlock count as "+1" in the context, and each spinunlock
Linus> count as "-1", and then hopefully it should all add up.
Do you have a plan for how to handle functions like spin_trylock()? I
notice in the current tree you just didn't annotate spin_trylock().
Thanks,
Roland
-
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/
- Previous message: Kay Sievers: "Re: [Patch] 2.6.10.rc1.bk6 /lib/kobject_uevent.c buffer issues"
- In reply to: Linus Torvalds: "Sparse "context" checking.."
- Next in thread: Linus Torvalds: "Re: Sparse "context" checking.."
- Reply: Linus Torvalds: "Re: Sparse "context" checking.."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|