Re: [PATCH v2 1/2] mm/slub: optimize alloc/free fastpath by removing preemption on/off

From: Steven Rostedt
Date: Thu Jan 15 2015 - 23:03:59 EST


On Thu, 15 Jan 2015 22:51:30 -0500
Steven Rostedt <rostedt@xxxxxxxxxxx> wrote:

>
> I haven't done benchmarks in a while, so perhaps accessing the %gs
> segment isn't as expensive as I saw it before. I'll have to profile
> function tracing on my i7 and see where things are slow again.

I just ran it on my i7, and yeah, the %gs access isn't much worse than
any of the other instructions. I had an old box that recently died that
I did my last benchmarks on, so that was probably why it made such a
difference.

-- Steve

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