summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2016-04-08 20:35:43 +0200
committerBrian Norris <computersforpeace@gmail.com>2016-07-09 18:53:33 -0700
commit21a190b970878be8298c3f696aede1de36986817 (patch)
treeb991c84bdd3e0764682d261d09e607992aa533e8 /lib
parent8bf66b24cfcb71d6f3e33a0ebd119678823d7c70 (diff)
downloadlinux-stable-21a190b970878be8298c3f696aede1de36986817.tar.gz
linux-stable-21a190b970878be8298c3f696aede1de36986817.tar.bz2
linux-stable-21a190b970878be8298c3f696aede1de36986817.zip
mtd: cfi_cmdset_0020: Deinline do_write_buffer, save 5316 bytes
This function compiles to 2554 bytes of machine code. In C, the function is almost 200 lines long. It has only one callsite, but forced inlining that much code makes gcc generate significantly worse code. Let gcc itself decide what to do. Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com> CC: David Woodhouse <David.Woodhouse@intel.com> CC: Dan Carpenter <dan.carpenter@oracle.com> CC: Artem Bityutskiy <artem.bityutskiy@linux.intel.com> CC: linux-mtd@lists.infradead.org CC: linux-kernel@vger.kernel.org Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions