public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andi Kleen <andi@firstfloor.org>
To: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Cc: LKML <linux-kernel@vger.kernel.org>,
	Peter Zijlstra <peterz@infradead.org>,
	Huang Ying <ying.huang@intel.com>,
	Andi Kleen <andi@firstfloor.org>,
	lenb@kernel.org, Andrew Morton <akpm@linux-foundation.org>
Subject: Re: [RFC patch 1/2] Rename the "llist" (lockless list) to "llstack" (lockless stack)
Date: Sun, 4 Sep 2011 00:41:55 +0200	[thread overview]
Message-ID: <20110903224155.GG7761@one.firstfloor.org> (raw)
In-Reply-To: <20110903175543.363519825@efficios.com>


I don't see why a rename is necessary. People implement stacks and queues
and all other kinds of data structures using the standard list.h.
No reason why this shouldn't work with llist.h either.

I would assume everyone hacking on the Linux kernel will understand
that a list can be used as a building block for all of these.

-Andi

-- 
ak@linux.intel.com -- Speaking for myself only.

  reply	other threads:[~2011-09-03 22:42 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-09-03 17:47 [RFC patch 0/2] API renaming: "llist" (lockless list) to "llstack" (lockless stack) Mathieu Desnoyers
2011-09-03 17:47 ` [RFC patch 1/2] Rename the " Mathieu Desnoyers
2011-09-03 22:41   ` Andi Kleen [this message]
2011-09-04 20:50     ` Mathieu Desnoyers
2011-09-05  2:00   ` Huang Ying
2011-09-03 17:47 ` [RFC patch 2/2] llstack: make llstack_push return "prior empty state" information Mathieu Desnoyers

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20110903224155.GG7761@one.firstfloor.org \
    --to=andi@firstfloor.org \
    --cc=akpm@linux-foundation.org \
    --cc=lenb@kernel.org \
    --cc=linux-kernel@vger.kernel.org \
    --cc=mathieu.desnoyers@efficios.com \
    --cc=peterz@infradead.org \
    --cc=ying.huang@intel.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox