My x86/64 Openwrt install seems to be missing /proc/self/smaps ... does anyone know if there is a kernel config option I am missing that creates this?
EDIT: I found the option that creates this in Openwrt's nconfig: Global build settings>Kernel build options>Enable /proc page monitoring which sets KERNEL_PROC_PAGE_MONITOR
config PROC_PAGE_MONITOR
default y
depends on PROC_FS && MMU
bool "Enable /proc page monitoring" if EXPERT
help
Various /proc files exist to monitor process memory utilization:
/proc/pid/smaps, /proc/pid/clear_refs, /proc/pid/pagemap,
/proc/kpagecount, and /proc/kpageflags. Disabling these
interfaces will reduce the size of the kernel by approximately 4kb.