[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20110903174721.390074195@efficios.com>
Date: Sat, 03 Sep 2011 13:47:21 -0400
From: Mathieu Desnoyers <mathieu.desnoyers@...icios.com>
To: LKML <linux-kernel@...r.kernel.org>
Cc: Peter Zijlstra <peterz@...radead.org>,
Huang Ying <ying.huang@...el.com>,
Andi Kleen <andi@...stfloor.org>, lenb@...nel.org,
Andrew Morton <akpm@...ux-foundation.org>
Subject: [RFC patch 0/2] API renaming: "llist" (lockless list) to "llstack" (lockless stack)
Hi,
I am proposing these 2 patches:
1) Rename the llist API into llstack
2) make llstack_push return "prior empty state" information
The API change in (2) assumes that this "lockless list" behaves like a
stack. Having a "list" API that has a stack behavior cast in stone does
not make sense, but nevertheless some stack properties are really
useful. So reflect the behavior of the lockless structure (stack/lifo)
into the API.
These patches apply on Linux v3.1-rc4.
Comments are welcome,
Best regards,
Mathieu
--
Mathieu Desnoyers
Operating System Efficiency R&D Consultant
EfficiOS Inc.
http://www.efficios.com
--
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