You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
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>
4 years ago
..
backport-4.14 kernel: backport out-of-memory fix for non-Ethernet devices 4 years ago
backport-4.19 generic: 4.19: Add 4B_OPCODES flag to w25q256 4 years ago
backport-5.4 generic: mips: exclude more dsemul code when fpu-emu is not enabled 4 years ago
files kernel: rtl8367b: add configuration for extif2 4 years ago
hack-4.14 kernel: bump 4.14 to 4.14.172 4 years ago
hack-4.19 kernel: bump 4.19 to 4.19.108 4 years ago
hack-5.4 kernel: bump 5.4 to 5.4.28 4 years ago
image treewide: replace nbd@openwrt.org with nbd@nbd.name 8 years ago
other-files kernel: move initramfs's init script out of base-files 7 years ago
pending-4.14 kernel: backport mtd partition address fix sent upstream 4 years ago
pending-4.19 generic: 4.19: Add 4B_OPCODES flag to w25q256 4 years ago
pending-5.4 kernel: generic: 5.4: fix mtd concat panic on read/write functions 4 years ago
PATCHES kernel: update PATCHES with a stricter policy 11 years ago
config-4.14 kernel: Sort generic configuration 4 years ago
config-4.19 treewide: Don't diverge from upstream default HZ settings on 4.19 4 years ago
config-5.4 kernel: Enable CMOS RTC support on 5.4 4 years ago