Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S938680AbcJQRkx (ORCPT ); Mon, 17 Oct 2016 13:40:53 -0400 Received: from mout.web.de ([212.227.15.3]:58604 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S938515AbcJQRkw (ORCPT ); Mon, 17 Oct 2016 13:40:52 -0400 Subject: Re: ARC-setup: Use seq_putc() in show_cpuinfo() To: Vineet Gupta References: <164a402a-de20-645d-00af-9a414cf745c4@users.sourceforge.net> <579aaf85-c22d-b680-5ce8-3c0e23ab6d7e@synopsys.com> <10542905-ebe1-49f5-190b-3783137e7854@synopsys.com> Cc: linux-snps-arc@lists.infradead.org, Alexey Brodkin , Andrea Gelmini , Kefeng Wang , Noam Camus , LKML , kernel-janitors@vger.kernel.org From: SF Markus Elfring Message-ID: <418ba237-d501-c8d1-cf2b-3ec4b6d46785@users.sourceforge.net> Date: Mon, 17 Oct 2016 19:39:41 +0200 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Thunderbird/45.4.0 MIME-Version: 1.0 In-Reply-To: <10542905-ebe1-49f5-190b-3783137e7854@synopsys.com> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Provags-ID: V03:K0:OZjZbFWYxRF2CfZanrLys/djlZRwWYF4SB24+UCFzNVlhYSqURV X8gzNcavruont+s69hsLdeN2TTkFGFEcUJJ4hHDJZRvDQwJpQaM21bzDfBC0igaWV3gstxg 922GEU1Psky45UDPHnzeVnf4m+xumoGKpAkPojC5oqzpvpyqVKAgjTj3Ok4Xzl+MVVlrYuG /GDbf+FxD4s4f8RgMYpoA== X-UI-Out-Filterresults: notjunk:1;V01:K0:jJ1+y7W2N3c=:Wf52RIBiTx49j4rQcUUpJu nfVKIApai1PKW/w6LNxAzXiV1Fi/oYWm8+luNfM6V8+z2p2SCKWBMWNp8xF1JTx/o+eIsho6N T+OMwJxZ3HYRvbkO8MEzTitvSZvw1uqyl/OroZ2eQ7PmuY7FGNfrY7i6OIk7B70SRar8WElu7 7nNhYnSaQkRLLO9JvDLr9UHYeg6UBLWmMMOxH65UHObvNrt+yTQjxWj8WQkfqmQ4e9tf51CiM q7666sueNT0ZOJOzhTixZCcUZz924Y+Sxm/ceXvGZkm5XEgJHOphtZRkcAkfOan7aTzTEcJA3 +3sp/1T2VF0JlcJ7MBTEptSUASzsltJjhPUPZxxKzTl6hsoyluVWxEWcSRzcxa9GCfAHJ4tW+ PeiZOivnGBexvnEOC9YxxNcI5sB/STiHRqtQP4/QOs9avKMm6yf7D6gBNEIItFw8noFpb5yf2 EQOT8lWhEOf8mtjqwqXPbdT4feHgV1grljAuqPHNTwTN9VHOQg4eOm5b8sd6Kk70nU3M+clWY 6DC3p9nzZ/moibsM0Yk7lz0Yhm8Q3+hEirie0JtY5fWtUNma0WNkw/AK+44oOKG0tjm6SJMEk KrK36ukQxlZ/3IwhLDmUG5Ah2g6mjieWsa+VNFObn0S4Htjtob8Yn19srlxuEO2L4Xgclt9VJ RI8H0VLvPRq/sSQGyqFByWx8bENgVwvaqB1TBNRw95AwujfkHkCP2u9OZ2Z5XC9q4MvR2vp4U ghFOqyxMvRCJOot1hZcFcilxh07CSs05mnJd2fIvbcywRodpgF1HmV9e5rpyVtb/5JNuBQsXa zvbWZux Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1277 Lines: 34 >>> Perhaps reword the changelog to say that seqc_putc is more efficient than >>> seqc_printf to output a single char. >>> I mean _printf is not wrong but not as efficient ? >> I came along source files for a few other software modules with similar >> change possibilities. >> Unfortunately, the corresponding developers are not convinced yet >> to replace a call of the function "seq_printf" at the end by >> a "seq_putc" because of software efficiency reasons. > > I was ambivalent so far - but not anymore :-) Interesting … > what is the objection - can you point me to a few links where people don't think > this is not a good idea. Yes, of course. - Does the double negation in this wording indicate another special software development concern? How do you think about another update suggestion like "[PATCH] MD-RAID: Use seq_putc() in three status functions" (from 2016-10-16)? https://patchwork.kernel.org/patch/9378055/ https://lkml.kernel.org/r/<77fb6fdc-7480-8607-0af1-42f73c125b9d@users.sourceforge.net> >> Do you find this update suggestion acceptable to some degree >> for the function "setup"? I am curious what your opinions will be for further development of the function "show_cpuinfo" in the source file "arch/arc/kernel/setup.c". Regards, Markus