Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp276014ybh; Tue, 21 Jul 2020 23:45:31 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyIgfPq3jUONzQYNLsTUUWN5NKrqBOc5yT40KI0LueH7TkbDlYj3QgvRs5AbAKhU6dKc6JC X-Received: by 2002:a17:906:6d56:: with SMTP id a22mr30012476ejt.440.1595400331695; Tue, 21 Jul 2020 23:45:31 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595400331; cv=none; d=google.com; s=arc-20160816; b=y612/JS4V5JBV0+cFOIBnWmDfam4b0v2932sm1ImbYKd9KdTKFM0633w2cf1yxasZc 1hw6H/yIK5EBD0S4P6nR4EgNJHArS9UlvtSRkrDFvt1/DXjCexLa18tH385Hv8cWxz8r eYTkpboK2fdj5pcCDkwqE4O/Gixw00LRh6fqmk54A7Ok6qPl6Nq8QPsGrcMgYBpqWy32 FwLHeYGE0rghX7h9+5BBoC+fWyyGIchTub2VQ7cjWNMj34iQ10qN2bO162pJyqOfhrZi l3szIANOkiKOK1F6FOVFsuHIbd2A4EzoZ0G10/Dlpah0CYd/gw5byYnbdIYZZ1COlP1l NiNg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:autocrypt:from:references:cc:to:subject:dkim-signature; bh=qdXJ2H2awvG7G9Lnt2ipx4hll8cpX5j5hKL8axwtj74=; b=E5jT2qAklvFPyyJJKHKE1CxP2gJ+R52R21aX8zZk526EmwQgnhUlUKbi93nZ1WBFNE Uu50jD86woTwOGL3fCx3B2mqjmzweL2rRD0cjuMOsovrtRJA6m+h/gYbB87n5e+/y89+ MzTFDOFGlH2RTyCy7GCczoew8zW0RXhlrrZqq02GL6ZUjJq7nRJ1/xZ/D8kl4zJk4u6+ 0lY191hZtAUGO4rE9KmAGsLvSoCyRS9Q5itFoOX/QYwv6EKfWiHLAWfZGVBvjO3HRlLd zeVuguz29BtCx6GVfJQnP3EEevU1XlWFlSswy3Ivf2FY2gLV3sJIxH25pIKtk+TYUXzx 0T2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=YYHXtG9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id u25si13766123ejj.175.2020.07.21.23.45.09; Tue, 21 Jul 2020 23:45:31 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=YYHXtG9v; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729248AbgGVGok (ORCPT + 99 others); Wed, 22 Jul 2020 02:44:40 -0400 Received: from mout.web.de ([217.72.192.78]:58173 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726736AbgGVGok (ORCPT ); Wed, 22 Jul 2020 02:44:40 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1595400271; bh=qdXJ2H2awvG7G9Lnt2ipx4hll8cpX5j5hKL8axwtj74=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=YYHXtG9vgAMl0RqikVOl+GiFzHkrCvyLNpdfwXQBs4bmqX61umAF/KN8xQmQXsT/L 51UTlGnHVHSxpuCv6jAQjxs/d4O0u3BP5vZE1SYoNGJAuPccaIMW+uek9ihr9NYYhz g5Eknyr/K1QN/mEdfkYjNLCyuS2ybzda33enmt08= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([93.131.82.161]) by smtp.web.de (mrweb102 [213.165.67.124]) with ESMTPSA (Nemesis) id 0MNcIg-1jvPjY3094-007ELL; Wed, 22 Jul 2020 08:44:30 +0200 Subject: Re: [v3 2/3] coccinelle: api: extend memdup_user rule with vmemdup_user() To: Julia Lawall , Denis Efremov , Coccinelle Cc: Gilles Muller , Masahiro Yamada , Michal Marek , Nicolas Palix , linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org References: <0b326e2b-723c-3482-c0ef-5d6592a9c6cb@web.de> <07a06754-94dd-60b1-1ad1-9e602c86b1f8@web.de> From: Markus Elfring Autocrypt: addr=Markus.Elfring@web.de; prefer-encrypt=mutual; keydata= mQINBFg2+xABEADBJW2hoUoFXVFWTeKbqqif8VjszdMkriilx90WB5c0ddWQX14h6w5bT/A8 +v43YoGpDNyhgA0w9CEhuwfZrE91GocMtjLO67TAc2i2nxMc/FJRDI0OemO4VJ9RwID6ltwt mpVJgXGKkNJ1ey+QOXouzlErVvE2fRh+KXXN1Q7fSmTJlAW9XJYHS3BDHb0uRpymRSX3O+E2 lA87C7R8qAigPDZi6Z7UmwIA83ZMKXQ5stA0lhPyYgQcM7fh7V4ZYhnR0I5/qkUoxKpqaYLp YHBczVP+Zx/zHOM0KQphOMbU7X3c1pmMruoe6ti9uZzqZSLsF+NKXFEPBS665tQr66HJvZvY GMDlntZFAZ6xQvCC1r3MGoxEC1tuEa24vPCC9RZ9wk2sY5Csbva0WwYv3WKRZZBv8eIhGMxs rcpeGShRFyZ/0BYO53wZAPV1pEhGLLxd8eLN/nEWjJE0ejakPC1H/mt5F+yQBJAzz9JzbToU 5jKLu0SugNI18MspJut8AiA1M44CIWrNHXvWsQ+nnBKHDHHYZu7MoXlOmB32ndsfPthR3GSv jN7YD4Ad724H8fhRijmC1+RpuSce7w2JLj5cYj4MlccmNb8YUxsE8brY2WkXQYS8Ivse39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TgKlih2QYULvW61XU+mWsK8+ZlYUrRMpkauN4CJ5yTpvp+Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: Date: Wed, 22 Jul 2020 08:44:29 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-GB Content-Transfer-Encoding: quoted-printable X-Provags-ID: V03:K1:pVc2A3E7p9wl9YfeDW7K4gk+6JucGa4pAalQbpBYtfYD+xrBuCc n2Pu1wl17PjVUQRxRinaqGhweV5+QJUkn+Fw7w3cueEAdLVD4IlrdD5GojF5FBD6y0CIO/f JAc+UHUte3qk5Ot3x+zB+4sLelORffc/pewtQ5QDo3c2HDrhyiGwrtACTuwX0FieN5Rq5zC tSEl5mqrPCq2WQGTRF87Q== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:95i03QYO6bE=:iMqhzajn5U5Ob7WHEN7PAy IT/piLEKT/+i5yM5aGH+6xeALvzXE7oS9CmLWzbVEjRhJogs/AWv7IHUEXDUATCyJAwM2dsEn n4n065bwQtjKXN1S0kkCaDtnhk7HtI5gYt+8WX94pZ99XuARGzEgWc7rXfC3+n9NfOotw2E2x C0uxiOB2mVbJZF21k0gXGlua2O8MS+Xqn5Ynf9zd5d2avJ/QDISrVXhdkoDcAXwGPQtSJnIrU 6T1qiXlYQImDKF56CACnbDvZ9JLjYiX30w5LPE5HZmfXy1ExG7TVF7eAmYWrJYL7Q0BranAOy ZayHxE3niHbCugbn9L+luRijSsMCM5kWtBdC1+A8w2AT0ZTK+kfCO1jv44W6/2jb1VWR0jpwP Ann4C3AHa+WydoS7EXQ0R2DF6m8zaNiZnG1aocLWobltZqyLKIvXspoNU3YNqNd+xTZvv6qm7 rCjPRyrEBcOba/yJfWz6VbAHF+36jDYUUGOYxS2yiiMl/0VFc6uH2gcdYsvNAPJEY8K8cYN36 3bZtS07KiZZ3AXR5vGIQ+cG8eOPI3WRaH7nVEggZCN3I/oOHYa0rI9VNPConxrbXTEMctGqib XmgPSGs7Q0nlyeOIgmmPgIFZ9ibtrTLb/GiPykQwG9v5ODJTbrJ0MWQ8B3YWQdiuVXg9pzbcf e6+PNbb7usjJGYHnDhBTHCol4haOr6dxVP6AGCLKPo8C8GxsDrm9XFiZvAvDfpBi5e8Se98vW eQj44lIPtuf478WG8ThcMfpf0HPQ78Grt5+VtlCkTUSfTKBSDwZloUV8YUOxfB3iBAJ5XqxZD 8CoNWfnew1tUQDxiv4No67Iri1cSPe0/Rf9bREI9FqczzWaluOqe7ad4Fxm1uUANvkXK7THrn xqUqzlDGvfnD6kt0JY1fQeAUVg3iaqHsdxk++dhwm47DUyAsMbiw8lkzQ8ShAjOBJLJDOSrIX McVD9M45Y6y66ufhe737Zj/e20QpCgc7vWUCWv2v+GUn9voIeuyQT6rMjZd257RKvcc7Qq1Y+ sp1ktXeZV4Dg3QOUtVoq4+UaNjCB/UaxbdEX0ibjpI/aqEGNSsfNPOq0RxG8kjk2JnA3VMEVJ 7sU5enGobq0MBlEv7B26JMoUiGR+xnNFfVxTQt20hvWs+K59vanVriV8nZbBHXBymJw0t6D9P Dgc1jC/Mvc4pPjlU2C6kLBR23NuhBx/TV6iNqZaxk7T9nJ/6/rhmY+mt7bbQO3abamh5+BBpu NWTsUx47wd/MLXPheCl/pjACIICPvFWSCBUnA+g== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >> Under which circumstances would you begin to care more for involved dif= ferences >> in corresponding run time characteristics? > > When the difference is hours vs seconds. Such a view can be influenced by execution environments in considerable wa= ys. > In this case, there are tradeoffs between the two options, I am trying to improve the awareness for possible software design variatio= ns. > andI don't know which would be faster, I am curious if more contributors would get into the mood to compare data processing approaches a bit more. > but I think it is extremely unlikely that the difference is noticible. But the following effects may be known for the evaluation of a SmPL rule which was combined for two code parts. * The SmPL dependencies are checked only once. * Can the source code search efforts be reduced a bit? > But if you are concerned about it, you are welcome to try. Will anybody become interested to measure the software behaviour exactly? Regards, Markus