[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200804161831.10510.oliver@neukum.org>
Date: Wed, 16 Apr 2008 18:31:08 +0200
From: Oliver Neukum <oliver@...kum.org>
To: Matthew Wilcox <matthew@....cx>
Cc: Ingo Oeser <ioe-lkml@...eria.de>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Andi Kleen <andi@...stfloor.org>,
Peter Zijlstra <peterz@...radead.org>,
Bart Van Assche <bart.vanassche@...il.com>,
Roland Dreier <rdreier@...co.com>, Ingo Molnar <mingo@...e.hu>,
Daniel Walker <dwalker@...sta.com>,
linux-kernel@...r.kernel.org
Subject: Re: [PATCH] Replace completions with semaphores
Am Mittwoch, 16. April 2008 18:16:52 schrieb Matthew Wilcox:
> The basic idea is that you get back a cookie from the kcounter_claim()
> which you have to hand to the kcounter_release() function so it
> knows which one you released. It's similar to mutex debugging except
So in addition to the kcounter we need to save a token in a data structure?
In fact, there must be a data structure that can house that token. So you
can no longer live with a pointer just to a device descriptor, but every
individual use of a resource must have an associated data structure?
Regards
Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists