From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 2CD34EB64DC for ; Wed, 21 Jun 2023 16:08:38 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229579AbjFUQIh (ORCPT ); Wed, 21 Jun 2023 12:08:37 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38782 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231263AbjFUQIf (ORCPT ); Wed, 21 Jun 2023 12:08:35 -0400 Received: from gnuweeb.org (gnuweeb.org [51.81.211.47]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 42E87186 for ; Wed, 21 Jun 2023 09:08:24 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=gnuweeb.org; s=default; t=1687363703; bh=WQ9YL5OdxYoIwBKZRRQ1x0TwINKvuny9+d3/SF0HALI=; h=Date:From:To:Subject:References:In-Reply-To; b=QSidXJA9ZG0bV222htbzh0hBKgkuBFCwmhvC0Pf1tKTiXVtvm565den/Kr7DGjPwu ajb5H5e33ZLh7t2cn2fVwPrZPS2xTXWYkghdbdv5mZi45exS3WRgkjg7Y+VuEwi0sz k1T/aYCOsbuYFRoNU4C8wIZzsrWnjjuGFu0XHJNDAWWlW9TKiWeURabaMpqLwRXjZc FdLKBIOrKmYQbdZ7l0UTWQpi1aNK4Jinlyyt/ltQFnOCRrxowM/+1aGi/x4wyJ+0yt shaG+V6mj+VY4khzN41V17JrhxGL3toq5zrF6OJHpJ4/ooaAd8zYAsmhlzwsTBlwgt prIcqRjweMLTw== Received: from biznet-home.integral.gnuweeb.org (unknown [103.125.42.5]) by gnuweeb.org (Postfix) with ESMTPSA id CE657249D56; Wed, 21 Jun 2023 23:08:20 +0700 (WIB) Date: Wed, 21 Jun 2023 23:08:15 +0700 From: Ammar Faizi To: Guillem Jover , Stefan Hajnoczi , io-uring Mailing List , Jens Axboe , Jeff Moyer , Alviro Iskandar Setiawan Subject: Re: False positives in nolibc check Message-ID: References: <20230620133152.GA2615339@fedora> <20230621100447.GD2667602@fedora> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-Bpl: hUx9VaHkTWcLO7S8CQCslj6OzqBx2hfLChRz45nPESx5VSB/xuJQVOKOB1zSXE3yc9ntP27bV1M1 Precedence: bulk List-ID: X-Mailing-List: io-uring@vger.kernel.org On Wed, Jun 21, 2023 at 01:51:56PM +0200, Guillem Jover wrote: > So, I also think I'd appreciate a --use-libc mode (or similar) which I'd > probably consider enabling for Debian. I'll send a patch to add that mode for review tomorrow morning. > OTOH, I've no idea how much impact that would cause to performance? Do > any of you have numbers? The only real *hot path* that depended on a libc function was io_uring_submit(). It used syscall(2) function. But now even when compiled with libc, we no longer use syscall(2), instead we use inline assembly to invoke syscall. So there is nothing to worry about performance here. Side note: liburing still uses syscall(2) on architectures other than x86, x86-64 and aarch64. -- Ammar Faizi