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=-1.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, 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-f47.google.com (mail-io1-f47.google.com [209.85.166.47]) by gnuweeb.org (Postfix) with ESMTPS id 105407E24B for ; Thu, 21 Jul 2022 15:32:47 +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=24pK2KUK; dkim-atps=neutral Received: by mail-io1-f47.google.com with SMTP id n7so1609066ioo.7 for ; Thu, 21 Jul 2022 08:32:47 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=from:to:cc:in-reply-to:references:subject:message-id:date :mime-version:content-transfer-encoding; bh=FmyExEL62abKjLGhub3xYmsZYhcRxJJ+x5gO4qRGz0o=; b=24pK2KUKf4NirwSefvKry1EF1hsM12aHo4CkykMA5UKEUSwJevY2SSlKQoj4yVha1x a2XCeruuSuz/RKOnDOAjh0RBw0MD3Vx7Svvq+MrmiEUFIyj7JI8+OnqIFxS0mS9Htuy3 VDPkGnYx4tdWcOIwFH08VbBoxuDYDh+3kAqydSmSVXSKYEz/8adns2t5a7+U+4KhUTw7 L8xpBUG4Jzv2ZY9YEEMJ3BJSPObPwufy9rqkkE3xlDn6bF/29nPtAx3DATGcX89AyxCH jbLs11Y/hZ9nZvkw6Rwb/ej8SO/lxQbO4S33FyskIMtiQOF5pgdiLd7ECqJYy8V6gw9u YnfA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:in-reply-to:references:subject :message-id:date:mime-version:content-transfer-encoding; bh=FmyExEL62abKjLGhub3xYmsZYhcRxJJ+x5gO4qRGz0o=; b=EfPSYmsLegZIoAyRrzE6qRNBiIl8CbqtvyLiCGY43hYMrDuYqfOqgjVPCFvVIKiTXd PcD9FRI58J1SPCX6LQjcNjFhNFD6dQgQapu0mJWlMNm+XU3nCgNx5pVgi/hSS32ntNqm Z2KLXNxL8+NhgenOuEBTm2OGxJaCl/REzwquQ5MX07X6tDILIY9+B8Y52pbm8A5jFGUZ +5vHUnzl6cQVRf8xHY6U13zSU7S3Yz8r6bxxL8Nl9gCulIUHtYpkQxS+GCWTPheQ0ldY PxNAFXA0/Gp30fnWh1tIZfKJxjqJIKbtNVhjBZHX5HVqDG7XSP5Mc03aqH2kLRDd0Rzq KUkg== X-Gm-Message-State: AJIora+j+VM2DF1+C7BDOrv129Ot4kM3Eg8OjuXrLleemeDJF2jXEHuh U6KASi8M06Yrxo3ByOEQNhsFCg== X-Google-Smtp-Source: AGRyM1udMHX54Beyo+KsX58hL2wxkxxhbFqW1SpJzB3qBPJ3AOojxgixFb7l44hwA4vo/tAJRuTGXw== X-Received: by 2002:a05:6638:1a13:b0:33f:1f32:6248 with SMTP id cd19-20020a0566381a1300b0033f1f326248mr22408240jab.53.1658417565862; Thu, 21 Jul 2022 08:32:45 -0700 (PDT) Received: from [127.0.1.1] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id f13-20020a02a10d000000b0033f3dd2e7e7sm891150jag.44.2022.07.21.08.32.44 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 21 Jul 2022 08:32:45 -0700 (PDT) From: Jens Axboe To: ammarfaizi2@gnuweeb.org Cc: howeyxu@tencent.com, gwml@vger.gnuweeb.org, io-uring@vger.kernel.org, fernandafmr12@gnuweeb.org, asml.silence@gmail.com In-Reply-To: <20220721090443.733104-1-ammarfaizi2@gnuweeb.org> References: <20220721090443.733104-1-ammarfaizi2@gnuweeb.org> Subject: Re: [PATCH liburing] Delete `src/syscall.c` and get back to use `__sys_io_uring*` functions Message-Id: <165841756488.96243.3609313686511469611.b4-ty@kernel.dk> Date: Thu, 21 Jul 2022 09:32:44 -0600 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 8bit List-Id: 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 Best regards, -- Jens Axboe