1
0
Fork 0
alistair23-linux/drivers/mtd/chips
Denys Vlasenko 21a190b970 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>
2016-07-09 18:53:33 -07:00
..
Kconfig mtd: avoid stack overflow in MTD CFI code 2016-04-03 16:46:24 -07:00
Makefile
cfi_cmdset_0001.c mtd: cfi_cmdset_0001: fixing memory leak and handling failed kmalloc 2016-01-06 17:23:10 -08:00
cfi_cmdset_0002.c mtd: cfi_cmdset_0002: use swap() in cfi_cmdset_0002() 2015-12-18 16:55:28 -08:00
cfi_cmdset_0020.c mtd: cfi_cmdset_0020: Deinline do_write_buffer, save 5316 bytes 2016-07-09 18:53:33 -07:00
cfi_probe.c
cfi_util.c mtd: cfi: deinline large functions 2015-05-27 12:42:16 -07:00
chipreg.c
fwh_lock.h
gen_probe.c mtd: gen_probe: Remove unnecessary OOM messages 2014-03-10 22:42:25 -07:00
jedec_probe.c
map_absent.c
map_ram.c mtd: map_ram: Enable mtdoops 2015-01-09 15:31:56 -08:00
map_rom.c mtd: map_rom: Support UBI on ROM 2015-01-09 23:24:27 -08:00