Re: [PATCH 17/21] Percpu tag allocator

From: Tejun Heo
Date: Tue May 14 2013 - 11:03:45 EST


On Mon, May 13, 2013 at 06:18:54PM -0700, Kent Overstreet wrote:
> +struct tag_pool {
> + unsigned watermark;
> + unsigned nr_tags;
> +
> + struct tag_cpu_freelist *tag_cpu;
> +
> + struct {
> + /* Global freelist */
> + unsigned nr_free;
> + unsigned *free;
> + spinlock_t lock;
> + struct list_head wait;
> + } ____cacheline_aligned;
> +};

Come on, Kent. No comment at all in the whole posting and no
justification for the patch or explanation of use cases?

--
tejun
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/