lkml.org 
[lkml]   [2004]   [Jan]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: [PATCH 1/2] kthread_create
Date
In message <Pine.LNX.4.44.0401021919240.825-100000@bigblue.dev.mdolabs.com> you write:
> On Sat, 3 Jan 2004, Rusty Russell wrote:
>
> > In message <Pine.LNX.4.44.0401020856150.2278-100000@bigblue.dev.mdolabs.com
> you write:
> > > Rusty, you still have to use global static data when there is no need.
> >
> > And you're still putting obscure crap in the task struct when there's
> > no need. Honestly, I'd be ashamed to post such a patch.
>
> Ashamed !? Take a look at your original patch and then define shame. You
> had a communication mechanism that whilst being a private 1<->1
> communication among two tasks, relied on a single global message
> strucure, lock and mutex.

Still do. It's *simple*, and I refuse to be ashamed of that.

My words were harsh, but I completely disagree with you. I believe
you are wrong. I would never have coded it the way you did. I read
your code and I still think you are wrong, and find your code both
bloated and ugly.

It's not about space, it's about taste. And placing random stuff in
an unrelated structure because you can't think of a better way to do
it is TASTELESS. If it were the only way, it might be forgivable, but
it's not, and I far prefer a little localized messiness to global
messiness.

Now, on something we do agree: I dislike the global structure myself.
By all means try changing the code to use a pipe between child and
parent for the initfn result. But I've told you that I will not
submit any solution which adds to a generic structure for a specific
problem.

I'm very, very sorry this has gotten a little heated: I generally
enjoy our discussions. But I don't think I should have to say "no"
four times.

Rusty.
--
Anyone who quotes me in their sig is an idiot. -- Rusty Russell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.065 / U:0.236 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site