Re: [GIT pull] locking/urgent for v5.15-rc2

From: Linus Torvalds
Date: Mon Sep 20 2021 - 11:27:42 EST


On Mon, Sep 20, 2021 at 4:27 AM Peter Zijlstra <peterz@xxxxxxxxxxxxx> wrote:
>
> Is that XADD really more expensive? I don't think I've ever seen that.

Hmm. Looking at newer tables from Agner Fog, it doesn't seem to be the
big difference it used to be, so maybe not a big deal. It shows up as
many more ups, but the lock synchronization ends up dominating.

I just remember from when xadd weas new, and it was noticeably slower.

Linus