openwrt/target/linux/generic
Yousong Zhou 437eb41f23 generic: mips: exclude more dsemul code when fpu-emu is not enabled
The patch is backported from mips-next.  In addition to minor reduction
of code size and runtime memory use, the more apparent difference is
that the delay slot emulation page will not be present for those targets
with fpu emulation disabled (CONFIG_MIPS_FP_SUPPORT=n)

Memory maps of busybox before and after this change

  root@OpenWrt:/# cat /proc/self/maps
  00400000-00449000 r-xp 00000000 00:02 23         /bin/busybox
  00458000-00459000 r-xp 00048000 00:02 23         /bin/busybox
  00459000-0045a000 rwxp 00049000 00:02 23         /bin/busybox
  77dc0000-77de2000 r-xp 00000000 00:02 273        /lib/libgcc_s.so.1
  77de2000-77de3000 r-xp 00012000 00:02 273        /lib/libgcc_s.so.1
  77de3000-77de4000 rwxp 00013000 00:02 273        /lib/libgcc_s.so.1
  77de4000-77e7b000 r-xp 00000000 00:02 271        /lib/libc.so
  77e8a000-77e8c000 rwxp 00096000 00:02 271        /lib/libc.so
  77e8c000-77e8e000 rwxp 00000000 00:00 0
  7fd86000-7fda7000 rw-p 00000000 00:00 0          [stack]
  7fefd000-7fefe000 r-xp 00000000 00:00 0
  7ffe6000-7ffe7000 r--p 00000000 00:00 0          [vvar]
  7ffe7000-7ffe8000 r-xp 00000000 00:00 0          [vdso]

  root@OpenWrt:/# cat /proc/self/maps
  00400000-00449000 r-xp 00000000 00:02 23         /bin/busybox
  00458000-00459000 r-xp 00048000 00:02 23         /bin/busybox
  00459000-0045a000 rwxp 00049000 00:02 23         /bin/busybox
  77d55000-77d77000 r-xp 00000000 00:02 274        /lib/libgcc_s.so.1
  77d77000-77d78000 r-xp 00012000 00:02 274        /lib/libgcc_s.so.1
  77d78000-77d79000 rwxp 00013000 00:02 274        /lib/libgcc_s.so.1
  77d79000-77e10000 r-xp 00000000 00:02 272        /lib/libc.so
  77e1f000-77e21000 rwxp 00096000 00:02 272        /lib/libc.so
  77e21000-77e23000 rwxp 00000000 00:00 0
  7fe23000-7fe44000 rw-p 00000000 00:00 0          [stack]
  7ff63000-7ff64000 r--p 00000000 00:00 0          [vvar]
  7ff64000-7ff65000 r-xp 00000000 00:00 0          [vdso]

Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Acked-by: Rosen Penev <rosenp@gmail.com>
Signed-off-by: Yousong Zhou <yszhou4tech@gmail.com>
2020-03-30 11:28:11 +08:00
..
backport-4.14 kernel: backport out-of-memory fix for non-Ethernet devices 2020-03-11 08:40:45 +01:00
backport-4.19 generic: 4.19: Add 4B_OPCODES flag to w25q256 2020-03-12 12:59:44 +01:00
backport-5.4 generic: mips: exclude more dsemul code when fpu-emu is not enabled 2020-03-30 11:28:11 +08:00
files kernel: rtl8367b: add configuration for extif2 2020-03-21 12:58:29 +08:00
hack-4.14 kernel: bump 4.14 to 4.14.172 2020-03-09 20:43:53 +01:00
hack-4.19 kernel: bump 4.19 to 4.19.108 2020-03-09 20:43:53 +01:00
hack-5.4 kernel: bump 5.4 to 5.4.28 2020-03-28 13:03:02 +01:00
image treewide: replace nbd@openwrt.org with nbd@nbd.name 2016-06-07 08:58:42 +02:00
other-files kernel: move initramfs's init script out of base-files 2017-04-04 14:06:40 +02:00
pending-4.14 kernel: backport mtd partition address fix sent upstream 2020-03-09 11:49:42 +01:00
pending-4.19 generic: 4.19: Add 4B_OPCODES flag to w25q256 2020-03-12 12:59:44 +01:00
pending-5.4 kernel: generic: 5.4: fix mtd concat panic on read/write functions 2020-03-29 16:23:57 +02:00
config-4.14 kernel: Sort generic configuration 2020-02-24 23:25:28 +01:00
config-4.19 treewide: Don't diverge from upstream default HZ settings on 4.19 2020-03-29 17:27:54 +01:00
config-5.4 kernel: Enable CMOS RTC support on 5.4 2020-03-29 21:41:43 +01:00
PATCHES