From mboxrd@z Thu Jan 1 00:00:00 1970 From: xieziyao Date: Tue, 4 May 2021 06:19:39 +0000 Subject: [LTP] [PATCH 0/3] syscalls/aio: Convert libaio wrapper function to kernel syscall In-Reply-To: References: <20210429115021.24128-1-xieziyao@huawei.com> , Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: ltp@lists.linux.it Hi, Petr, Jan, I am working on adapting the new API to the testsuite of syscalls/io_*. At the same time, I prefer to replace libaio wrapper function with raw system call(tst_syscall(__NR_io_*)) just for the aio testcases of kernel/syscalls, since this method may be more straightforward, no need to rely on other libraries. Glad to see your discussion and participation, thanks. Kind regards, Ziyao From: Petr Vorel> To: Jan Stancek> Cc: xieziyao>;ltp>;Richard Palethorpe> Subject: Re: [LTP] [PATCH 0/3] syscalls/aio: Convert libaio wrapper function to kernel syscall Time: 2021-05-04 13:13:53 Hi Jan, > On Mon, May 3, 2021 at 9:03 PM Petr Vorel wrote: > > Hi Ziyao, > > > Instead of using the libaio wrapper function, the system call is changed > > to be invoked via syscall(2). > I probably missed some discussion. Why are we replacing it with syscall? you haven't missed anything. io_destroy(ctx) (libaio.h) is being replaced with raw syscall (tst_syscall(__NR_io_destroy, ctx). Kind regards, Petr -------------- next part -------------- An HTML attachment was scrubbed... URL: