Re: [PATCH 04/11] cgroup: use kzalloc() and list_del_init()

From: Tejun Heo
Date: Wed Jun 12 2013 - 22:39:23 EST


On Wed, Jun 12, 2013 at 7:36 PM, Li Zefan <lizefan@xxxxxxxxxx> wrote:
> Do you mean we prefer list_del_init() than list_del() in general? Then


> 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?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at