public inbox for [email protected]
 help / color / mirror / Atom feed
From: Ammar Faizi <[email protected]>
To: Jens Axboe <[email protected]>
Cc: io-uring Mailing List <[email protected]>,
	GNU/Weeb Mailing List <[email protected]>,
	Tea Inside Mailing List <[email protected]>,
	Ammar Faizi <[email protected]>,
	Arthur Lapz <[email protected]>, Nugra <[email protected]>,
	Alviro Iskandar Setiawan <[email protected]>,
	Nugra <[email protected]>
Subject: [PATCH liburing v1 0/2] Support busybox mktemp and add x86-64 syscall macros
Date: Tue, 15 Feb 2022 22:36:49 +0700	[thread overview]
Message-ID: <[email protected]> (raw)

Hi Jens,

Two patches in this series.
1) Support busybox mktemp from Nugra.
-------------------------------------
Busybox mktemp does not support `--tmpdir`, it says:
    mktemp: unrecognized option: tmpdir

It can be fixed with:
	1. Create a temporary directory.
	2. Use touch to create the temporary files inside the directory.
	3. Clean up by deleting the temporary directory.

2) Create syscall __do_syscall{0..6} macros from Alviro.
----------------------------------------------------------
Reduce arch dependent code by creating __do_syscall{0..6} macros.
These macros are made of inline Assembly x86-64. Use them to invoke
syscall via __sys* functions. By using this design, we don't have to
code in inline Assembly again when adding a new syscall.

Tested on Linux x86-64, all test passed, but rsrc_tags timedout.

Cc: Arthur Lapz <[email protected]>
Cc: Nugra <[email protected]>
Signed-off-by: Alviro Iskandar Setiawan <[email protected]>
Signed-off-by: Nugra <[email protected]>
Signed-off-by: Ammar Faizi <[email protected]>
---

Alviro Iskandar Setiawan (1):
  arch/x86: Create syscall __do_syscall{0..6} macros

Nugra (1):
  configure: Support busybox mktemp

 configure              |  13 ++-
 src/arch/x86/syscall.h | 242 +++++++++++++++++++++--------------------
 2 files changed, 132 insertions(+), 123 deletions(-)


base-commit: ea1e6f8c4e9180bde1844bd56a072bd4c1afae3e
-- 
2.32.0


             reply	other threads:[~2022-02-15 15:37 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-02-15 15:36 Ammar Faizi [this message]
2022-02-15 15:36 ` [PATCH liburing v1 1/2] configure: Support busybox mktemp Ammar Faizi
2022-02-15 15:36 ` [PATCH liburing v1 2/2] arch/x86: Create syscall __do_syscall{0..6} macros Ammar Faizi
2022-02-15 21:43 ` [PATCH liburing v1 0/2] Support busybox mktemp and add x86-64 syscall macros Jens Axboe

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 \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    [email protected] \
    /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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox