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 autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-il1-f182.google.com (mail-il1-f182.google.com [209.85.166.182]) by gnuweeb.org (Postfix) with ESMTPS id ED8E97E548 for ; Fri, 6 Jan 2023 17:08:44 +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=elbhSMQQ; dkim-atps=neutral Received: by mail-il1-f182.google.com with SMTP id o8so1275629ilo.1 for ; Fri, 06 Jan 2023 09:08:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=/pi3d90P5aVRL3z1bvp5jzNEWiIqSFyOafKfU6GQ/2s=; b=elbhSMQQq08bVlgo7j7XJhbslO49iQ9jPa4188SkzsIfh9dRlLFo8RNE2vKlhUdE9o 0xc34KZXjXROY4LhcH47O6QGie69XQDB1XI5jM9vLqW8WhdS8rSH+8fJ59UvMDbv8fxY XKj5wwjqf0TUPdiVnoKtLtEBJ0D7MQDia3czYitGuOZ+vPVrkZB8NfRE28XB+RrZtr4G R7jF4lJNhC4VoFnyosfJxUC3WG2KZifygSWhXu5tLLRgViISwYzJC3ikUHOz9UNarQF5 FuYNv4orzYVml/lJkOuKipkcE39An1exL0tnrdbF2zQDzBRa7EilcsuWVlkh9n6jr/2u QJvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:date:message-id:subject :references:in-reply-to:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=/pi3d90P5aVRL3z1bvp5jzNEWiIqSFyOafKfU6GQ/2s=; b=E+r3kejnba7Z3UG1+YZm/T4TPtixwy09iZAKl6cCaDWGxgOTD/a/VJBuMhoZ4xcEVE HluA0AuuW00ZmLsw+3IGyOX0Io6e7p83giVg+1zVYbI4N8QeBSwTaLQxumqxH06p4ltr lFRHdPdHQcs/ix1XWRwmHm3G2mMa5HehTelY+q7lae6jJSv6rDTpP02Bs3har3rnU3T9 +tHTKLIDVsxcGiYB+9rv7RPleNT8AM42hDQuHCVcJqAHrByAAOUVocTor4VHBRQ+WoFr ts71HDlcpp5FJ65CaeWKb829G+ynsa5N3ARJM6v0VmWZg7BqKodMW//5AzR5ogMsRsSk Jv+g== X-Gm-Message-State: AFqh2krru14MGxyO0kAVNCLTvldRupnZOKLIHe5qo1EPykgiP94QYsoR YMSMg+NRaH4bZkUALcHF/96v+A== X-Google-Smtp-Source: AMrXdXu4NxJLeb5/fLoMI08J50knLr+LqGkXuZLUHHk+5FledlIzOPdvASEMiHUjX9htnN4Ky7KUhg== X-Received: by 2002:a92:d307:0:b0:30b:d947:6bc8 with SMTP id x7-20020a92d307000000b0030bd9476bc8mr7698801ila.1.1673024923597; Fri, 06 Jan 2023 09:08:43 -0800 (PST) Received: from [127.0.0.1] ([207.135.234.126]) by smtp.gmail.com with ESMTPSA id l14-20020a92700e000000b0030c27c9eea4sm503642ilc.33.2023.01.06.09.08.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Jan 2023 09:08:43 -0800 (PST) From: Jens Axboe To: Ammar Faizi Cc: Pavel Begunkov , Gilang Fachrezy , VNLX Kernel Department , Alviro Iskandar Setiawan , GNU/Weeb Mailing List , io-uring Mailing List In-Reply-To: <20230106154259.556542-1-ammar.faizi@intel.com> References: <20230106154259.556542-1-ammar.faizi@intel.com> Subject: Re: [PATCH liburing v1 0/2] liburing micro-optimzation Message-Id: <167302492290.43194.3789226051413344473.b4-ty@kernel.dk> Date: Fri, 06 Jan 2023 10:08:42 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit X-Mailer: b4 0.12-dev-cc11a List-Id: On Fri, 06 Jan 2023 22:42:57 +0700, Ammar Faizi wrote: > This series contains liburing micro-optimzation. There are two patches > in this series: > > ## Patch 1 > - Fix bloated memset due to unexpected vectorization. > Clang and GCC generate an insane vectorized memset() in nolibc.c. > liburing doesn't need such a powerful memset(). Add an empty inline ASM > to prevent the compilers from over-optimizing the memset(). > > [...] Applied, thanks! [1/2] nolibc: Fix bloated memset due to unexpected vectorization commit: 913ca9a93fd67a5e5a911d71a33a6de7a1a41101 [2/2] register: Simplify `io_uring_register_file_alloc_range()` function commit: 8ab80b483518d51903c9eed24cf0e1ba826010fc Best regards, -- Jens Axboe