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:07:30 EST
On Thu, 15 Jan 2015 21:57:58 -0600 (CST)
Christoph Lameter <cl@xxxxxxxxx> wrote:
> > I get:
> >
> > mov %gs:0x18(%rax),%rdx
> >
> > Looks to me that %gs is used.
>
> %gs is used as a segment prefix. That does not add significant cycles.
> Retrieving the content of %gs and loading it into another register
> would be expensive in terms of cpu cycles.
OK, maybe that's what I saw in my previous benchmarks. Again, that was
a while ago.
-- 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/