[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <CAOS58YOFHpgFXh2jCZHg-pdu0x_2NNUohahcJJi5YmeR6H+zHA@mail.gmail.com>
Date: Wed, 12 Jun 2013 19:39:16 -0700
From: Tejun Heo <tj@...nel.org>
To: Li Zefan <lizefan@...wei.com>
Cc: containers@...ts.linux-foundation.org,
Cgroups <cgroups@...r.kernel.org>,
Kent Overstreet <koverstreet@...gle.com>,
lkml <linux-kernel@...r.kernel.org>,
Christoph Lameter <cl@...ux-foundation.org>
Subject: Re: [PATCH 04/11] cgroup: use kzalloc() and list_del_init()
Hello,
On Wed, Jun 12, 2013 at 7:36 PM, Li Zefan <lizefan@...wei.com> wrote:
> Do you mean we prefer list_del_init() than list_del() in general? Then
Yes.
> in which cases do we prefer list_del()?
Nowadays, I don't think we ever prefer list_del(). Maybe if it can be
shown that the extra init part is noticeably expensive?
--
tejun
--
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