Re: [PATCH] Optimize sys_times for a single thread process

From: Andrew Morton
Date: Tue May 17 2005 - 19:22:02 EST


Christoph Lameter <christoph@xxxxxxxxxxx> wrote:
>
> > It all looks a bit fast-and-loose. If there are significant performance
> > benefits and these issues are loudly commented (they aren't at present)
> > then maybe-OK, I guess.
>
> There are significant performance benefits in particular for one standard
> NUMA benchmark that keeps calling sys_times over and over. I believe other
> programs may exhibit the same brain dead behavior.


hrm, OK. Please redo the patch with nice comments which explain what's
going on and why the end result is correct and safe, thanks.

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