Re: [Patch 3/3] prepopulate/cache cleared pages

From: Andi Kleen
Date: Thu Feb 23 2006 - 08:04:54 EST


On Thursday 23 February 2006 13:41, Ingo Molnar wrote:

>
> What Arjan did is quite nifty, as it moves the page clearing out from
> under the mmap_sem-held critical section.

So that was the point not the rescheduling under lock? Or both?

BTW since it touches your area of work you could comment what
you think about not using voluntary preempt points for fast sleep locks
like I later proposed.

> How that is achieved is really
> secondary, it's pretty clear that it could be done in some nicer way.

Great we agree then.
>
> And no, i dont accept the lame "dont come into the kitchen if you cant
> stand the flames" excuse: your reply was totally uncalled for, was
> totally undeserved

Well he didn't supply any data so I asked for more.

> and was totally unnecessary. It was incredibly mean
> spirited,

Sorry, but I don't think that's true. Mean spirited would be
"we don't care, go away". When I think that I generally don't
answer the email.

I could have perhaps worded it a bit nicer, agreed, but I think
the core of my reply - we need more analysis for that - was
quite constructive. At least for one of the subproblems I even
proposed a better solution. If there is more analysis of the
problem maybe I can help even for more of it.

Also it's probably quite clear that added lots of special purpose caches
to task_struct for narrow purpose isn't a good way to do optimization.

The mail was perhaps a bit harsher than it should have been
because I think Arjan should have really known better...

> You might not realize it, but replies like this can scare away novice
> contributors forever! You could scare away the next DaveM. Or the next
> Alan Cox. Or the next Andi Kleen. Heck, much milder replies can scare
> away even longtime contributors: see Rusty Russell's comments from a
> couple of days ago ...

I must say I'm feeling a bit unfairly attacked here because I think I generally
try to help new patch submitters (at least if their basic ideas are sound even
if some details are wrong)

e.g. you might notice that a lot of patches from new contributors
go smoother into x86-64 than into i386.

-Andi
-
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/