All of lore.kernel.org
 help / color / mirror / Atom feed
From: Vikas Kumar <vikas.kumar2@arm.com>
To: ltp@lists.linux.it
Subject: [LTP] [PATCH V8] syscall: Add io_uring related tests
Date: Fri, 17 Jul 2020 10:09:16 +0530	[thread overview]
Message-ID: <4144f20f-6097-9e62-0328-c74c09bb68fe@arm.com> (raw)
In-Reply-To: <20200716143352.GA11713@yuki.lan>

Hi Cyril,

> Hi!
> I've finished the test code and pushed, thanks.
>
> I've changed it so that it actually reads data and checks the result,
> and also properly unmaps the buffers (fixes failures with -i 10 passed
> to the test), the diff is attached below.
>
> Also I will have to check if we need the read/write barriers, I guess
> that the way we use the interface it's safe, since the syscalls provide
> natural boundary between kernel and userspace. But they would be needed
> for a different tests anyways.
>
> Also I had to remove the IORING_SETUP_IOPOLL flag since that made all
> SQEs fail with EOPNOTSUPP for me.

Thank you very much for help and change in test code.


Regards,

Vikas


      parent reply	other threads:[~2020-07-17  4:39 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-14  3:24 [LTP] [PATCH V8] syscall: Add io_uring related tests Vikas Kumar
2020-07-16 14:33 ` Cyril Hrubis
2020-07-16 20:47   ` Petr Vorel
2020-07-17  4:39   ` Vikas Kumar [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4144f20f-6097-9e62-0328-c74c09bb68fe@arm.com \
    --to=vikas.kumar2@arm.com \
    --cc=ltp@lists.linux.it \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.