Re: [PATCH RFC 01/14] x86/asm: add iosubmit_cmds512() based on movdir64b CPU instruction

From: Borislav Petkov
Date: Wed Nov 20 2019 - 18:26:56 EST


On Wed, Nov 20, 2019 at 03:19:23PM -0800, Luck, Tony wrote:
> That's the underlying functionality of the MOVDIR64B instruction. A
> posted write so no way to know if it succeeded.

So how do you know whether any of the writes went through?

> When using dedicated queues the caller must keep count of how many
> operations are in flight and not send more than the depth of the
> queue.

This way?

--
Regards/Gruss,
Boris.

https://people.kernel.org/tglx/notes-about-netiquette