# git rev-parse -q --verify 3e22ed88f973d538104798edfa5140769483bce1^{commit} 3e22ed88f973d538104798edfa5140769483bce1 already have revision, skipping fetch # git checkout -q -f -B kisskb 3e22ed88f973d538104798edfa5140769483bce1 # git clean -qxdf # < git log -1 # commit 3e22ed88f973d538104798edfa5140769483bce1 # Author: Nicholas Piggin # Date: Wed Jul 25 19:54:28 2018 +1000 # # powerpc/64s: free page table caches at exit_mmap time # # The kernel page table caches are tied to init_mm, so there is no # more need for them after userspace is finished. # # destroy_context() gets called when we drop the last reference for an # mm, which can be much later than the task exit due to other lazy mm # references to it. We can free the page table cache pages on task exit # because they only cache the userspace page tables and kernel threads # should not access user space addresses. # # The mapping for kernel threads itself is maintained in init_mm and # page table cache for that is attached to init_mm. # # Signed-off-by: Nicholas Piggin # Reviewed-by: Aneesh Kumar K.V # [mpe: Merge change log additions from Aneesh] # Signed-off-by: Michael Ellerman # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < git log --format=%s --max-count=1 3e22ed88f973d538104798edfa5140769483bce1 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_rainier_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- 44x/rainier_defconfig # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_44x_rainier_defconfig_powerpc CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:183:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/fs/proc/inode.c: In function 'proc_reg_open': /kisskb/src/include/linux/list.h:65:12: warning: 'pdeo' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/proc/inode.c:339:21: note: 'pdeo' was declared here /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:251:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:231:19: note: 'i' was declared here INFO: Uncompressed kernel (size 0x45d744) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0x500000) Image Name: Linux-4.18.0-rc3-g3e22ed88 Created: Tue Jul 31 23:15:43 2018 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 2204091 Bytes = 2152.43 kB = 2.10 MB Load Address: 00500000 Entry Point: 0050110c Completed OK # rm -rf /kisskb/build/powerpc-next_44x_rainier_defconfig_powerpc # Build took: 0:00:36.670698