From patchwork Fri Feb 3 17:12:32 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Adhemerval Zanella Netto X-Patchwork-Id: 55460 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 4C8E0385840D for ; Fri, 3 Feb 2023 17:13:06 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4C8E0385840D DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1675444386; bh=2aK9jEVV4gW1eGE3qACVPi0z6wnigK8ZDKP0Hg316MI=; h=To:Subject:Date:List-Id:List-Unsubscribe:List-Archive:List-Post: List-Help:List-Subscribe:From:Reply-To:From; b=XdnFn6Bph57bQlg60AHK2AwB2wVu5kaC09UJVaz77WlmOGfU82Juu3k3pmRNxqzCi 2NN8P1CBjpEgXP/sxP7R5tvC5b1TeEIyK63WKMNI9ADHDkPQGG0jOsOTtYtMZ+7v5B EPF5OJrSti5ogrmq6C85xKPKGWMF/ZJ2XjdwvIx8= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-oi1-x235.google.com (mail-oi1-x235.google.com [IPv6:2607:f8b0:4864:20::235]) by sourceware.org (Postfix) with ESMTPS id 6CD443858D20 for ; Fri, 3 Feb 2023 17:12:42 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6CD443858D20 Received: by mail-oi1-x235.google.com with SMTP id 20so3914817oix.5 for ; Fri, 03 Feb 2023 09:12:42 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding:mime-version:message-id:date:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=2aK9jEVV4gW1eGE3qACVPi0z6wnigK8ZDKP0Hg316MI=; b=mXK9a6P1ykO71UvMUq0/Dk8poRSjif5ZXfZVXBcGau9MZpyCYB9be7x1vVRaKyR98h r7exLYdLe0jr+S11coBEXUYIzfoqbR1YoKarzgLnAD3hWNIW1Tk22TsFwveI93T8vnLP 2eNa8KUzn4LnJo9McfglC2LbMr883uyOGRqeiMTMm9zCz+hPLmf/IYiIxbaSx7GtN44e 16/UlFznLSkINKBvM63DO3rJ22GsrFR6kSwPXCzE7Ak8M7haIKUWeyFwyjt6Zhbq5NoR lRhSoMh208rs6Z5ylPhMPWMwm7+wMsSMDGKC1aE3uh46cQ8MfB6rtK/YUeIa2Qt1WX9A 4KVA== X-Gm-Message-State: AO0yUKWCcxYqFMqtDCRD2dXI4/5GDBOpwibBO3JK+FF9rInMyoZ/f22Q Bj4gyCtpi6uLde7KeFxxPd25eKWQg9OUHB9gSxE= X-Google-Smtp-Source: AK7set+iZKI5q7f0YsHiRWq+ra7KNdFRF8yyoLPtvNwmteLx1R1NkASSQfsBqF1goJsF9dAg+P+xTA== X-Received: by 2002:aca:d782:0:b0:37a:2bf0:5012 with SMTP id o124-20020acad782000000b0037a2bf05012mr2014912oig.0.1675444361097; Fri, 03 Feb 2023 09:12:41 -0800 (PST) Received: from mandiga.. ([2804:1b3:a7c2:1887:38a0:ca4:680a:31ed]) by smtp.gmail.com with ESMTPSA id cp23-20020a056830661700b0068bdd78f763sm1346672otb.29.2023.02.03.09.12.39 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 03 Feb 2023 09:12:40 -0800 (PST) To: libc-alpha@sourceware.org Subject: [PATCH 0/5] Add clone3 support for multiple architectures Date: Fri, 3 Feb 2023 14:12:32 -0300 Message-Id: <20230203171237.1220878-1-adhemerval.zanella@linaro.org> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-5.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: Adhemerval Zanella via Libc-alpha From: Adhemerval Zanella Netto Reply-To: Adhemerval Zanella Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" It enables the posix_spawn optimization on newer kernels. Adhemerval Zanella (5): powerpc64: Add the clone3 wrapper s390x: Add the clone3 wrapper riscv: Add the clone3 wrapper arm: Add the clone3 wrapper mips: Add the clone3 wrapper sysdeps/unix/sysv/linux/arm/clone3.S | 80 +++++++++ sysdeps/unix/sysv/linux/arm/sysdep.h | 1 + sysdeps/unix/sysv/linux/mips/clone3.S | 139 ++++++++++++++++ sysdeps/unix/sysv/linux/mips/sysdep.h | 2 + .../sysv/linux/powerpc/powerpc64/clone3.S | 157 ++++++++++++++++++ sysdeps/unix/sysv/linux/powerpc/sysdep.h | 1 + sysdeps/unix/sysv/linux/riscv/clone3.S | 80 +++++++++ sysdeps/unix/sysv/linux/riscv/sysdep.h | 1 + sysdeps/unix/sysv/linux/s390/s390-64/clone3.S | 81 +++++++++ sysdeps/unix/sysv/linux/s390/sysdep.h | 1 + 10 files changed, 543 insertions(+) create mode 100644 sysdeps/unix/sysv/linux/arm/clone3.S create mode 100644 sysdeps/unix/sysv/linux/mips/clone3.S create mode 100644 sysdeps/unix/sysv/linux/powerpc/powerpc64/clone3.S create mode 100644 sysdeps/unix/sysv/linux/riscv/clone3.S create mode 100644 sysdeps/unix/sysv/linux/s390/s390-64/clone3.S