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, NICE_REPLY_A,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H3,RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,SPF_PASS autolearn=ham autolearn_force=no version=3.4.6 Received: from mail-pj1-f42.google.com (mail-pj1-f42.google.com [209.85.216.42]) by gnuweeb.org (Postfix) with ESMTPS id 206AD8186D for ; Mon, 16 Jan 2023 13:44:43 +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=CyLnG6mQ; dkim-atps=neutral Received: by mail-pj1-f42.google.com with SMTP id z9-20020a17090a468900b00226b6e7aeeaso31126183pjf.1 for ; Mon, 16 Jan 2023 05:44:43 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=kernel-dk.20210112.gappssmtp.com; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :from:to:cc:subject:date:message-id:reply-to; bh=iBIa3ILNzHP8U+8remnMWr6+41iaH0UTmhdauHdIvtw=; b=CyLnG6mQiA9RQ2RPJlRTs9My/nYfzyprsgZnYJzt+4bnLrnWQ0lgmtUE/5cL5Q8GX3 E8gRX5Pf/eYj2uCRNkYfmR0E0rH1harbnR9AZFJqIRIWbdKKFM4nfH0lfrY55r9mjd3Y w94NJcK0dyTFagUoaOFq9Cp2fPev1foYRptU8v/wZX2rKm9zjaSfrBOWHUjCnWyIwP2R 9vRNhGC0OzOvhSv2aJieLKbii8p/rpVx/RFqqRfS1F89RooujHhQ+Bwt6S0+k6aKWV43 j0yAogvYBU8YdWfIpqn/tEJhgedusCXh+bYiHTC+IcdFzDBiVa/ELjAhhtsrMlN9Dwns D4dQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:in-reply-to:from:references:cc:to :content-language:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=iBIa3ILNzHP8U+8remnMWr6+41iaH0UTmhdauHdIvtw=; b=QNm+FmxYELQUtf7XCij6A1d4hT7G2vvuiIOsK9kwTiZdfE1cqMbZ44t888eTyhVb4H HxJ+Lkk5n6LRj5PSw0k+kS6u4hvW0N0pmWqdyGG1rxG3k8eN3mH1BtAJBhUeZTDdZM3t PjDSITEYaCrPQXUSxUuheS/P87yxsN1py2fIrtN7U9pZSfAz/t6k8f9A5LEnIiV+bRMm vkVlReJYQoVIYRwfVIhMkFkyEqfOswhMpVj+Ir+jpiyF9Ct8lSbRDN0WkQgfzoDuA2bc amJQBQ1uds91aXVkdQNQybkhd9faIDbORfP+Nz5i9QaO3wQam/foQmwSB56BRzrMfsJf BNfg== X-Gm-Message-State: AFqh2kppBN0PfN7QDKradDHhKvT/77YPz1x4J0ctIu0xQUHMeh4Ksjpz ZB9HfDm82MUbGIgTuCRx9Fnucw== X-Google-Smtp-Source: AMrXdXv1LLA7vzZOYVuArlFK3qYvrTkslduaynSwf/RQqRBe2zpZhLPkzlmeY9baYVqf4/6ouz+vgA== X-Received: by 2002:a05:6a20:4f15:b0:b8:7d48:2843 with SMTP id gi21-20020a056a204f1500b000b87d482843mr940950pzb.6.1673876682413; Mon, 16 Jan 2023 05:44:42 -0800 (PST) Received: from [192.168.1.136] ([198.8.77.157]) by smtp.gmail.com with ESMTPSA id b28-20020aa7951c000000b0056bcb102e7bsm3982707pfp.68.2023.01.16.05.44.41 (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 16 Jan 2023 05:44:41 -0800 (PST) Message-ID: <61b6a406-a657-28b7-3da7-a2ea817befc6@kernel.dk> Date: Mon, 16 Jan 2023 06:44:40 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux aarch64; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 Subject: Re: [RFC PATCH v1 liburing 2/2] README: Explain about FFI support Content-Language: en-US To: Christian Mazakas Cc: Ammar Faizi , Pavel Begunkov , Gilang Fachrezy , io-uring Mailing List , VNLX Kernel Department , GNU/Weeb Mailing List References: <20230114095523.460879-1-ammar.faizi@intel.com> <20230114095523.460879-3-ammar.faizi@intel.com> <3d217e11-2732-2b85-39c5-1a3e2e3bb50b@kernel.dk> <34a2449a-8500-4081-dc60-e6e45ecb1680@kernel.dk> From: Jens Axboe In-Reply-To: Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit List-Id: On 1/15/23 9:18 PM, Christian Mazakas wrote: > Hmm, how about something more like this: > > +Because liburing's main public interface lives entirely in liburing.h > as `static inline` > +functions, users wishing to consume liburing purely as a binary > dependency should > +link against liburing-ffi. liburing-ffi contains definitions for > every `static inline` function > +in liburing.h. This is great - Ammar, can you incorporate that when you respin the patchset? -- Jens Axboe