From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.cs.ucla.edu (mail.cs.ucla.edu [131.179.128.66]) by sourceware.org (Postfix) with ESMTPS id 766153858D28 for ; Mon, 17 Jul 2023 17:29:43 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 766153858D28 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=cs.ucla.edu Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=cs.ucla.edu Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id B34A93C011BD4; Mon, 17 Jul 2023 10:29:42 -0700 (PDT) Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10032) with ESMTP id AFyHUPkEvo8k; Mon, 17 Jul 2023 10:29:41 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by mail.cs.ucla.edu (Postfix) with ESMTP id D69583C011BD5; Mon, 17 Jul 2023 10:29:41 -0700 (PDT) DKIM-Filter: OpenDKIM Filter v2.10.3 mail.cs.ucla.edu D69583C011BD5 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cs.ucla.edu; s=9D0B346E-2AEB-11ED-9476-E14B719DCE6C; t=1689614981; bh=LErho3By/ng+qQq+XFkru6nEbvB2Yyo0SFH48jZpHpI=; h=Message-ID:Date:MIME-Version:To:From; b=c1R1YSwdkbxzvBz70gaBGz64751KfOKlE3lD4TDHgo6UZ0iOCO121hpZVJRSSiEhf T02pxMXZUgZDjCTga9ZDNNk05F+64LPClVG2mPZL6+CC6fLje/o7nz9jLpJXVcHZSO Z3pJUjxcQ5io/HuK2nw9dIMQCmR5FLtHK7hLND0EYGdlCDoNc+RZZZRac6p5xjeNp6 uM6jH5ljvgzPRq0NOPGXsBX5uMMVgf2dIXM6vjqs3tf2eoza6AxQC/+n7cIPBOGcC9 EZS6N9+khS6Z2Oc+F0latV6HahasKwYJcii0xgbZqv/Hvhb1dV5xaO0DzJHDtB78bf lbDKCjSYaDsSQ== X-Virus-Scanned: amavisd-new at mail.cs.ucla.edu Received: from mail.cs.ucla.edu ([127.0.0.1]) by localhost (mail.cs.ucla.edu [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id qa6Di9Weloce; Mon, 17 Jul 2023 10:29:41 -0700 (PDT) Received: from [192.168.1.9] (cpe-172-91-119-151.socal.res.rr.com [172.91.119.151]) by mail.cs.ucla.edu (Postfix) with ESMTPSA id AEF523C011BD4; Mon, 17 Jul 2023 10:29:41 -0700 (PDT) Message-ID: <38f59f55-13a4-1a5a-9ba1-34c6ed70d964@cs.ucla.edu> Date: Mon, 17 Jul 2023 10:29:41 -0700 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0 Content-Language: en-US To: Alexander Monakov , Adhemerval Zanella Cc: libc-alpha@sourceware.org References: <20230713132540.2854320-1-adhemerval.zanella@linaro.org> <20230713132540.2854320-2-adhemerval.zanella@linaro.org> <49920fe1-b5a1-939c-9d34-bd553cd4352e@ispras.ru> From: Paul Eggert Organization: UCLA Computer Science Department Subject: Re: [PATCH v5 1/6] stdlib: Optimization qsort{_r} swap implementation In-Reply-To: <49920fe1-b5a1-939c-9d34-bd553cd4352e@ispras.ru> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3.0 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,NICE_REPLY_A,SPF_HELO_NONE,SPF_PASS,TXREP,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On 2023-07-17 09:57, Alexander Monakov wrote: > I'd recommend to properly credit Linux lib/sort.c since obviously this > commit originated as a direct copy of the code therein, not just being > inspired by what's there. What are the licensing issues here? The Linux kernel is GPLv2 only, whereas glibc/stdlib/qsort.c is LGPLv2.1+, so we can't simply take nontrivial source code from the Linux kernel.