From mboxrd@z Thu Jan 1 00:00:00 1970 From: SF Markus Elfring Subject: Re: MD-RAID: Use seq_putc() in three status functions? Date: Thu, 20 Oct 2016 14:24:50 +0200 Message-ID: References: <566ABCD9.1060404@users.sourceforge.net> <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> <1476703920.2520.105.camel@petrovitsch.priv.at> <97f31b70-e3ff-f194-c753-54da1fe3e664@users.sourceforge.net> <57299b72-8e6b-0b92-4374-1b7a0907e810@suse.de> <05d0cade-7922-9d8a-a974-34b2cc9150fb@suse.de> <665cd40a-4562-a015-78c6-12976c12b626@suse.de> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: In-Reply-To: Sender: kernel-janitors-owner@vger.kernel.org To: Hannes Reinecke , linux-raid@vger.kernel.org Cc: Bernd Petrovitsch , 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 List-Id: linux-raid.ids >> So back to the original task for you: Show me in the generated output where the benefits are. I can offer another bit of information for this software development discussion. The following build settings were active in my "Makefile" for this Linux test case. … HOSTCFLAGS = -Wall -Wmissing-prototypes -Wstrict-prototypes -O0 -fomit-frame-pointer -std=gnu89 … The afffected source files can be compiled for the processor architecture "x86_64" by a tool like "GCC 6.2.1+r239849-1.4" from the software distribution "openSUSE Tumbleweed" with the following command example. my_original=${my_build_dir}unchanged/test/ \ && my_fixing=${my_build_dir}patched/test/ \ && mkdir -p ${my_original} ${my_fixing} \ && my_cc=/usr/bin/gcc-6 \ && my_module=drivers/md/raid1.s \ && git checkout next-20161014 \ && make -j6 O="${my_original}" HOSTCC="${my_cc}" allmodconfig ${my_module} \ && git checkout next_usage_of_seq_putc_in_md_raid_1 \ && make -j6 O="${my_fixing}" HOSTCC="${my_cc}" allmodconfig ${my_module} \ && diff -u "${my_original}${my_module}" "${my_fixing}${my_module}" > "${my_build_dir}assembler_code_comparison_$(date -I)_1.diff" Unfortunately, the generated file got the size "311 KiB". I guess that this is too big to send such a file around on the Linux mailing list. Is this kind of assembler code comparison still useful to clarify relevant differences further? Regards, Markus