From: Hannes Reinecke Date: Mon, 17 Oct 2016 14:00:14 +0000 Subject: Re: MD-RAID: Use seq_putc() in three status functions? Message-Id: List-Id: References: <566ABCD9.1060404@users.sourceforge.net> <786843ef-4b6f-eb04-7326-2f6f5b408826@users.sourceforge.net> <92c52f1d-d151-cea6-e9ac-31378e6862d0@users.sourceforge.net> <1475771699.1914.10.camel@perches.com> <77fb6fdc-7480-8607-0af1-42f73c125b9d@users.sourceforge.net> <688764a4-072d-2faf-37ba-a222b190a5d9@suse.de> <59d71170-c48d-a084-c748-b6ab74a2bee4@users.sourceforge.net> <1e151094-e228-5307-ae2f-b376b31f5628@suse.de> <83e720c6-9037-a3c1-6e83-27505805f37f@users.sourceforge.net> <2cc42b2f-1f1a-e95c-91fa-54e1dd3b6d49@suse.de> <653e60ee-f862-8828-3e4f-498c7cc34bdc@users.sourceforge.net> In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To: SF Markus Elfring , linux-raid@vger.kernel.org Cc: Christoph Hellwig , Guoqing Jiang , Jens Axboe , Joe Perches , Mike Christie , Neil Brown , Shaohua Li , Tomasz Majchrzak , LKML , kernel-janitors@vger.kernel.org, kbuild-all@01.org, ltp@lists.linux.it On 10/17/2016 01:10 PM, SF Markus Elfring wrote: >>> * Is a string pointer often longer than a byte? >>> >> Always. >=20 > I have got doubts for this specific information. >=20 >=20 >> (Which up to now I thought was basic programming knowledge...) >=20 > By the way: > Run time environments still exist where the size of a pointer can be also > just one byte, don't they? >=20 Really? Name one. You can only fit a point in one byte if you are on an 8-bit system. Which I don't think linux is running on. >>> How many results would we like to clarify from various hardware >>> and software combinations? >>> >> See above. At the moment _any_ test result from your side would do. >=20 > I imagine that another single result might not be representative. > How many lessons from test statistics will usually be also relevant here? >=20 >=20 As said above, _any_ statistic will do at this point. >>> How important are the mentioned functions for you within the Linux >>> programming interface so far? >>> >> Not very. The interface is only used in a slow path, and the execution >> time doesn't affect I/O performance in any way. >=20 > Thanks for another interesting information. >=20 >=20 >>>> Case in point: with your patch the x86_64 compiler generates nearly >>>> identical code for driver/md/raid1.c, but with one instruction _more_ >>>> after your patch has been applied. >>> >>> Which software versions and command parameters did you try out >>> for this information (from an unspecified run time environment)? >>> >> # gcc --version >> gcc (SUSE Linux) 4.8.5 >=20 > Thanks for this detail. >=20 > * Did you choose any special optimisation settings for your quick check? >=20 > * Will any compilation results matter if "optimisation" would be > switched off there? >=20 >=20 These were the results when calling 'make' in the kernel source tree. With all applicable options. >> I'm still waiting from results from your side. >=20 > Would any other software developers or testers dare to add related inform= ation? >=20 No. It's your patch, _you_ have to do it. Cheers, Hannes --=20 Dr. Hannes Reinecke Teamlead Storage & Networking hare@suse.de +49 911 74053 688 SUSE LINUX GmbH, Maxfeldstr. 5, 90409 N=FCrnberg GF: F. Imend=F6rffer, J. Smithard, J. Guild, D. Upmanyu, G. Norton HRB 21284 (AG N=FCrnberg) -- To unsubscribe from this list: send the line "unsubscribe kernel-janitors" = in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html