Messages in this thread | | | Date | Mon, 18 Nov 2002 11:02:00 +0100 (CET) | From | Roman Zippel <> | Subject | Re: Why /dev/sdc1 doesn't show up... |
| |
Hi,
On Mon, 18 Nov 2002, Rusty Russell wrote:
> And it *still* means you need two paths for your code: one for "I know > it's not actually "active" yet, but I'm doing init and I need to > access it anyway". So every interface gains significant complexity by > effectively implementing their own "live" flag...
Rusty, you know how refcounts work? Especially the "if (atomic_dec_and_test(&obj->ref)) cleanup(obj)" part is really interesting.
bye, Roman
- 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/
| |