Received: by 2002:a25:e74b:0:0:0:0:0 with SMTP id e72csp235516ybh; Sat, 18 Jul 2020 02:17:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyAZmN9XgwZy+fYt3+fHSpKCMy1wJAwgDcK/ceusAWKhDOtyDUOsFzR/HL2k3ouiw+Lxvzy X-Received: by 2002:a17:906:c083:: with SMTP id f3mr11663575ejz.530.1595063830847; Sat, 18 Jul 2020 02:17:10 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1595063830; cv=none; d=google.com; s=arc-20160816; b=dcan458ml4eDTjC/jtAmt51ewaChe26ePiJtAzg3Yak641cvONDWP+iQhDmPqtz55Y CJquB5Fg9Lu5djEBiGzrUN6gvoT963HbDqVJKanIpFhUI3NlEX33rJSaoCVBf+yS/Ewc EYQhbmIukDO7PctTtFKDO2lHeBaXkX5qNctdW81sdNc43a8L/cossBu77EaSOh8klE0L BchgT1hHpNkycCoKD7Y6+GVfrr5wfopFNIsSmgDY4KwfsPJmCSeNWLn8lOJji02FQjFz iLK4ShT5gJwEzRVUtybgiL8OF4C7NS1nYdR/TQtnffYMr59oai/rjXWwQ42LCUDKs44d JYOA== 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=+Xs2lFSw0ab4gLfDPBkPOion/34y6JcvQFgFZhrhE+E=; b=iUxP/IZKJlQ1cihQk66b0g+DoHgQ1YdOcXq8BgaCSJPYZzVmsSA1Hoyy7i4Cgu1sHn n2Bym9wtci+Hz8i5y5rxM9BcRkm82crxyNH5rKpFL6TAcXjkiB/2Lsblb9R7/4BsTIXN tRdxUmvPUuvB83vMZuYezTmkUxNtlAJHUcTU25gNfjLO6smDeJ+OE9IgCFmGJGR4gdfh RNu2gJdPpWBdfEqhTGam9THwBrYAt0vc0ftU89YjscbnVzxGEU2H6LFmmaeVi80XUs4q 8Wod0+++kCilxb8h6dndNW7gM/wlKvahkRqPmMKAn/MytPgpaJhd5aLtPiRsJ1sGwqMF StDg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@web.de header.s=dbaedf251592 header.b=qb5LQbET; 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 ob20si6124217ejb.646.2020.07.18.02.16.47; Sat, 18 Jul 2020 02:17:10 -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=qb5LQbET; 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 S1726439AbgGRJQX (ORCPT + 99 others); Sat, 18 Jul 2020 05:16:23 -0400 Received: from mout.web.de ([212.227.15.14]:39095 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726066AbgGRJQW (ORCPT ); Sat, 18 Jul 2020 05:16:22 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=web.de; s=dbaedf251592; t=1595063772; bh=G3d+RngEWuIQntAf7cEcSzMBapLG41kym5mlirB0PaA=; h=X-UI-Sender-Class:Subject:To:Cc:References:From:Date:In-Reply-To; b=qb5LQbETcvjZva3gUgwVu1LIu0BXV5mX3InI8euedf0XBA1OxICGFRDchWsD2wYCP UcmraxoatY3emTLEqiNqx0J6QLWzq7OTc2CaYWpDmyiZX2/Chlu8fayD+6LO5FvCY3 GGwSDMh8r/Zf1hnNgWCRCZ6kiFo8ueGZYrxBdZV0= X-UI-Sender-Class: c548c8c5-30a9-4db5-a2e7-cb6cb037b8f9 Received: from [192.168.1.2] ([2.243.120.168]) by smtp.web.de (mrweb001 [213.165.67.108]) with ESMTPSA (Nemesis) id 0MJTHn-1jydpA3S2t-0033Jb; Sat, 18 Jul 2020 11:16:11 +0200 Subject: Re: [v2 1/4] coccinelle: api: extend memdup_user transformation with GFP_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: <0b9f2c58-e124-22d2-d91d-62a6e831c880@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+RpuSce7w2JLj5cYj4MlccmNb8YUxsE8brY2WkXQYS8Ivse39MX BE66MQN0r5DQ6oqgoJ4gHIVBUv/ZwgcmUNS5gQkN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Orcz5KixHQmc5tbkLWf x0n1QFc1xxJhbzN+r9djSGGN/5IBDfUqSANC8cWzHpWaHmSuU3JSAMB/N+yQjIad2ztTckZY pwT6oxng29LzZspTYUEzMz3wK2jQHw+U66qBFk8whA7B2uAU1QdGyPgahLYSOa4XAEGb6wbI FEE= Message-ID: Date: Sat, 18 Jul 2020 11:16:04 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.9.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:zYJyk8NQpn2E/HiuBb26U1nxdi8leQ40ukxxgsEDgwndICZt8M1 0VDXOei73XlSwk6wZkR7FnDweA/klEKlACSA3PH90UjHyBDuucLPBI+88Kt3h9NmZxRHoeW 9ztNybwpiCg/xrewhnqX3uUsMzb0Xqiy22YMllgSCL2fd3xjYWG46Oyl/xdFNReAxICxpOQ /tesiJ7N6GUzmYXF+L5LQ== X-Spam-Flag: NO X-UI-Out-Filterresults: notjunk:1;V03:K0:iqzgbM0mFQg=:MxQCy2q/CJQlxQBrDGuBT5 fDvnsVFMU67DpQT1ndpPrIQwWrMxyUCBjszNtH21vbjizV/6CCfvHl1c6+ASqpLToCYH0U3ZQ lpUZJJBZIl3LMprbXNfd8nhjp9xJg7ZaUk6Rn9E4CukH5MJlWIK872+2cOElY1Rat1VN7hShr y+lWwiaxy8zCewmf838MvFn1K4YQljuevdk+n2jBrn+yRa6qywbC+1hENjHJEtvJ9ktIMP1dz g06f7+IJ6ru6IO6JgtBVm9xmcwRy+ZBiHVCy8DU+qUzmDilojEmr0WCdGovAKuvYLU0nHeji6 zwx4lV15z/bsYOL6eEzPAvnOfKRdUa/GKT9xBVL5ZUNqTbVLVnJEYPNouk5Wr2pPtmvY4uTvj aSSr+1S3nDmhScPocdf+Z5AnWQw/ipUf2AnTlUbSSFGkEsRfnOpBy4joJSq0JFE4ZZJq33Jza wFUe/zUeUmE9s3WKbhY1Sk1sofGW6YeWaSo0znVweUbj4H3xWSEM+vPqWSQvMHhfXIHKbSJqJ L/m5YcmpJ2OZ6y/7uTYisADiggH55oCEByVXrTdFukQ/YPNzjP8AIxWMQdvjghqBEzKohrYZJ tgxep0pktxufCJzHPYN6M8neWWzXlpnlVOj9gJhfu/cUoq2WL0yAT1RM/vZADEW4afJRNE2C9 0qjBLAkU43r1+oLVJXNWv0k7J7YUxMEMUtMvEHti3cz83j3KfAasbw51uPbVvkPdXOkze+d8U CLPAUUfcWKKWclxC7nGAdscJnwdpuxZcWB68khEYiUKZtPGp3R2kPj6UFZCyuB0gHSblH2O/p KEn1mD6aioPZpw/aACugp8fAsiQo/C3Tu+tkk8h6dwH87zTEjsJNs04LWYERDswEZT1Ogrkq8 ly+8/c5NZVfTGbFGWJIB+4JxYrWT7Ge8Jhn9TMm0RNm9L27gVUvR/TM48b2mEWYS9CYAIe5xK tG6JyXjNTiv1DWn/cFin5Z+5IpV9rD84DzG1ruIPgmWEyuYWwtnh4OaAHmTH33q+WNv2ou/ll UIUPECnEPkMbOKxHyIuWkx3KVWkuhJUeAMq1uMptLx+wOl31ToXHvo1vLYNfnuHluAOBdkKrt xFtbotWhoKscZnLuWj9lozZie3+8Klb/93MMcRLXSOs5VquxHBiF6IUO80Yer7Fe2qQEjTTkk 1w4X7CoWgL6FW9ODHBiNzM+1nzJrcHypONwnJEQSyeZ4uRLYzdpLsp5kznyGvou56cmzKnh4r fRyaKw1dxcm77Hv4yW73j93cG59BDNjrIlRvGzg== Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org >>>> * https://lore.kernel.org/cocci/5c0dae88-e172-3ba6-f86c-d1a6238bb4c4@= web.de/ >>>> https://lkml.org/lkml/2020/6/9/568 >>> >>> This one it complete nonsense. >> >> I hope that different views can be clarified for such a software situat= ion >> in more constructive ways. > > You proposed essentially \( A \| B \) \( | C \| \) I suggested also another adjustment. Can additional minus characters be avoided if such a source code search pa= ttern would be specified in a single line? > This is not valid syntax in the semantic patch language. I hope that a solution can be found by our discussion. > The branches of a \( \| \) have to be a valid expression, statement, typ= e, etc, Such information can become more interesting for safe application of SmPL disjunctions. > not some random string of tokens. I got further imaginations in this software area. Will the handling of optional transformation parameters be clarified bette= r? >> Patch reviews contain usual risks that suggestions are presented >> which can be still questionable. > > These are not "usual risks". You can easily test out your suggestion by > yourself to see if it produces valid code. Such an expectation can be reasonable in some cases. > If it doesn't, then don't make the suggestion. Would software limitations hinder any more improvements then? >>> like that putting all of the virtual declarations on >>> the same line would save space (it does, but who cares), >> >> It seems that you admit a possibly desirable effect. > > No, I don't consider the effect to be desirable. I propose to take another look at variations around source code verbosity. >> Your change acceptance is varying to your development mood >> (and other factors), isn't it? > > Not really. My "change acceptance" increases when the person reporting > them raises real problems that is blocking them in some work. I presented open issues accordingly. > And it decreases rapidly when the changes are almost all related to pres= umed > "efficiencies" that have no impact in practice. Change possibilities can get varying attention and corresponding developme= nt priorities. Regards, Markus