[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20130613153551.39ffdf595d989be10c773d23@linux-foundation.org>
Date: Thu, 13 Jun 2013 15:35:51 -0700
From: Andrew Morton <akpm@...ux-foundation.org>
To: Tejun Heo <tj@...nel.org>
Cc: Kent Overstreet <koverstreet@...gle.com>,
linux-kernel@...r.kernel.org, Oleg Nesterov <oleg@...hat.com>,
Christoph Lameter <cl@...ux-foundation.org>,
Ingo Molnar <mingo@...hat.com>,
Andi Kleen <andi@...stfloor.org>, Jens Axboe <axboe@...nel.dk>,
"Nicholas A. Bellinger" <nab@...ux-iscsi.org>,
Jeff Layton <jlayton@...hat.com>,
"J. Bruce Fields" <bfields@...ldses.org>
Subject: Re: [PATCH] Percpu tag allocator
On Thu, 13 Jun 2013 15:30:28 -0700 Tejun Heo <tj@...nel.org> wrote:
> Hello, Andrew.
>
> On Thu, Jun 13, 2013 at 03:10:40PM -0700, Andrew Morton wrote:
> > Look, we're falling into the age-old trap of trying to justify existing
> > code just because it exists.
> >
> > Stop. Take a step back and pretend that the percpu tag allocator patch
> > never existed. Now, define the problem and propose solutions.
> >
> > The absolute dead last and worst solution is "implement something new
> > which largely duplicates existing code". Such a step requires an
> > extraordinary amount of justification and that hasn't happened.
>
> I think you're looking at it from the complete opposite point from
> mine. That problem has always existed and the solutions implemented
> many times over in the whole IO stack across aio, block layer proper,
> SCSI and individual drivers, and most, if not all, suck. If we can
> consolidate those into a properly designed tag allocator, it's a win,
> whether it's integrated into idr or not. It's a well-known problem
> with incomplete bad solutions implemented in multiple places.
Well that's news. My awe at the dreadfulness of Kent's changelog
continues to grow. Please identify these duplicated allocators
(function names will suffice). That way, others can actually review
this code :(
--
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