From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on gnuweeb.org X-Spam-Level: X-Spam-Status: No, score=-2.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,SPF_HELO_NONE, SPF_PASS,URIBL_BLOCKED autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-io1-f46.google.com (mail-io1-f46.google.com [209.85.166.46]) by gnuweeb.org (Postfix) with ESMTPS id 412447E24B for ; Thu, 21 Jul 2022 15:36:37 +0000 (UTC) Authentication-Results: gnuweeb.org; dkim=pass (2048-bit key; unprotected) header.d=kernel-dk.20210112.gappssmtp.com header.i=@kernel-dk.20210112.gappssmtp.com header.a=rsa-sha256 header.s=20210112 header.b=1Rw213sJ; dkim-atps=neutral Received: by mail-io1-f46.google.com with SMTP id u20so1611732iob.8 for ; Thu, 21 Jul 2022 08:36:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=message-id:date:mime-version:user-agent:subject:content-language:to :cc:references:from:in-reply-to:content-transfer-encoding; bh=OrqRySjOXI9PvYjmbDKnaFiNO+kUpLoVvF3M+JCPY5w=; b=1Rw213sJDIxdGp4WSfsJmGL3scABePeE8hPw+he9EgsvijsbMVyru1RkWISlEXiGfG vssnYsYwEJ72TmRa2gWcnFjDH9xSi7dVmXF8etHF2xlwR8Bug8ZkzyPvWMwfYBZ3W7Ys a5R+mOpKaKbHK7dqfsURln+ocCsmTVpoJUPFyAknJP0C6VOPDWr+oIpgkCHDWTOeMcRo 4d9REonScAqqvIlcyG8lhCejHhgnW2pbEKKUqTNnLr8Ao5+wlOtt7uyF1p2kS0jTanYi /tTOmRYpYS2tmcUH0J3j3HBOkUaldsazUN+lCmjbigsUbRrp+8aCEDXQukaN8oqVua9k UvlA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:message-id:date:mime-version:user-agent:subject :content-language:to:cc:references:from:in-reply-to :content-transfer-encoding; bh=OrqRySjOXI9PvYjmbDKnaFiNO+kUpLoVvF3M+JCPY5w=; b=Nu8iq3IF69Hzd6gi77Lg2qhF4p3i+lsdy8NfPFvoIXdNc52wHYevQiZZBLbYVL4grP ppP3r03w+jti7FGi6vtpMHMzUwS+cDMZpv96+5jNBpUOIDVHGkQ7hpzRi+7YceolEM1B YDAlxaALlF4lNCXrDjCWF/RN4BJXmACrDo+OETO76pC6MyYoeyr268QqphEZi/FP9X6I 3PVnSEDnj79INakzpfwSYE3KJ38YnOrJoPaP4IG42zGwK85zaylVtSzfa5MLcIu40WKX mC9Eck1fQhGMZzsDmOKQ9MTu3yFvb1OJVbEr8WKTrqeOnZa1HP7t2B5oJThtDqvu3f1Q yUhA== X-Gm-Message-State: AJIora9wmsYJB7mIigaQNhFBwYy8zyhvsI98K4ggMWTkKJJZAXo66ZOW hG83J4LYqRqhHvMk+zU1rdgC4A== X-Google-Smtp-Source: AGRyM1sqPTsydK4ICbucfRYH92xSonQ+V8VoB0jFNrvs0xjFNALLyzQKyWn6AAy1jge9J69441SAmQ== X-Received: by 2002:a05:6638:31c1:b0:33f:2450:46a9 with SMTP id n1-20020a05663831c100b0033f245046a9mr22550650jav.45.1658417796323; Thu, 21 Jul 2022 08:36:36 -0700 (PDT) Received: from [192.168.1.172] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id u14-20020a02b1ce000000b00339e42c3e2fsm914433jah.80.2022.07.21.08.36.35 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Thu, 21 Jul 2022 08:36:35 -0700 (PDT) Message-ID: <2a1a1e2d-6c9c-acc8-ac46-78d30ba35a6a@kernel.dk> Date: Thu, 21 Jul 2022 09:36:34 -0600 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:91.0) Gecko/20100101 Thunderbird/91.10.0 Subject: Re: [PATCH liburing] Delete `src/syscall.c` and get back to use `__sys_io_uring*` functions Content-Language: en-US To: Ammar Faizi Cc: Hao Xu , Pavel Begunkov , Fernanda Ma'rouf , GNU/Weeb Mailing List , io-uring Mailing List References: <20220721090443.733104-1-ammarfaizi2@gnuweeb.org> <165841756488.96243.3609313686511469611.b4-ty@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit List-Id: On 7/21/22 9:35 AM, Ammar Faizi wrote: > On 7/21/22 10:32 PM, Jens Axboe wrote: >> On Thu, 21 Jul 2022 16:04:43 +0700, Ammar Faizi wrote: >>> Back when I was adding nolibc support for liburing, I added new >>> wrapper functions for io_uring system calls. They are ____sys_io_uring* >>> functions (with 4 underscores), all defined as an inline function. >>> >>> I left __sys_uring* functions (with 2 underscores) live in syscall.c >>> because I thought it might break the user if we delete them. But it >>> turned out that I was wrong, no user should use these functions >>> because we don't export them. This situation is reflected in >>> liburing.map and liburing.h which don't have those functions. >>> >>> [...] >> >> Applied, thanks! >> >> [1/1] Delete `src/syscall.c` and get back to use `__sys_io_uring*` functions >> commit: 4aa1a8aefc3dc3875621c64cef0087968e57181d > > Sorry Jens, it breaks other architectures, will send a patch shortly. I ran x86-64 and aarch64, seems that it did indeed break x86. I'll wait for your patch. -- Jens Axboe