Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S965044AbcJQLP6 (ORCPT ); Mon, 17 Oct 2016 07:15:58 -0400 Received: from mout.web.de ([217.72.192.78]:56529 "EHLO mout.web.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S934917AbcJQLOp (ORCPT ); Mon, 17 Oct 2016 07:14:45 -0400 Subject: Re: MD-RAID: Use seq_putc() in three status functions? To: Hannes Reinecke , linux-raid@vger.kernel.org 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> 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 From: SF Markus Elfring Message-ID: Date: Mon, 17 Oct 2016 13:10:18 +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: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K0:CCkVHrPNrOkoWAqgGbkrJ2yyenh18bKaMQcqoJzQ/rbIGLXNIGW 4Dlpp6O6R0KKh3DOb+2Ifp/d/QG0TNGUZ+HyckMncirqLK3WCr1eJ7HhzRDc5pbw9XA/qU5 Aqw8FEoOz30hjE5YXXr5OBe73cDyd2us6utTnMSup6nCF1K/fPXNCFOKXGsA+GYG3f5BXCZ xPhcAWndJQYc4ie+Jy/1w== X-UI-Out-Filterresults: notjunk:1;V01:K0:KYUW7ZRkbUw=:6GdChTUNow3K7P6pvBlUqD iRZHXCxpJ/r+OHlZQqqEk6AtWl/urh/fs0vM9lATj06RMlFb6YcPIlvvoqernTrIUEymy/6Mn m7Dgp5HKekfssYkNd2tKAKcOPbbKPBMW+zqu1CJZaX56EZr1hGkE9KNS3VBhePOgSLEKj6CMg Cn1e3S3LNHjt3HknqdV1+mAt85qn9N61CUPvBVIuVaMOGtCWHjd8p/FsffMO+YiHCsNHRBlj+ 4X1Mw+N2pwPHOvS4Ipk2a3qwgc6Ku6EPf8KyWKLagoRmQm4dRfDtJee7QSE+Vf2x16INqYKg7 9nqxfY135VWQxFgwO5uw3Km1cMneGaaWlvSCZSsyGCmaqOr6WUGXjBpOzdQjvJ86oziPOfsi+ +rAxbnRW1SbF1Ohu0pHbRAQCg2AAcb8rpoihKpKnggRTTQSZck4dEQaFQLuc3AaDUuENSb01+ 0oRbqJ1+dvz4MHYE5EvoVrtBPjYa3NdVT0s9iEEW3Rxyce6lgGN8IYGdTQGFcyjZG/Xkh0Aup 2kG5tQb45qU7zluxXCJom0Fu6wzLFmuyZ6H6xqpSO8PDPAJLoxqSLGoUAKL9LPfYyA0YU4Hmz Whk1WS9TLd2B8zJZ1GZfO8wgIWNRVbPqY9s0LatPSDrgeEXkWWS9JNhE8A3rXXWEQ2pa+lB45 jk1A20hMvfFCdnhgHgPMjKrvJno7i5Nv6fGF6ofV5WuPtQnIxd1ysARHeCv+GXeLHA7YVe9Yr olh5a62nZUbsXNleOdP1WDutyYOOF3G9cdTkD0K1Vb9JFTGJC4LwbZcX4E1C7sN0VlE9b1UoM rrFtxQB Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1590 Lines: 56 >> * Is a string pointer often longer than a byte? >> > Always. I have got doubts for this specific information. > (Which up to now I thought was basic programming knowledge...) By the way: Run time environments still exist where the size of a pointer can be also just one byte, don't they? >> 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. I imagine that another single result might not be representative. How many lessons from test statistics will usually be also relevant here? >> 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. Thanks for another interesting information. >>> 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 Thanks for this detail. * Did you choose any special optimisation settings for your quick check? * Will any compilation results matter if "optimisation" would be switched off there? > I'm still waiting from results from your side. Would any other software developers or testers dare to add related information? Regards, Markus