# 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-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc --version # < git log --format=%s --max-count=1 3e22ed88f973d538104798edfa5140769483bce1 # < make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- allmodconfig # Added to kconfig CONFIG_BUILD_DOCSRC=n # Added to kconfig CONFIG_MODULE_SIG=n # Added to kconfig CONFIG_SAMPLES=n # yes \n | make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- oldconfig yes: standard output: Broken pipe yes: write error # make -s -j 48 ARCH=powerpc O=/kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-5.3 CROSS_COMPILE=/opt/cross/kisskb/gcc-5.3.0-nolibc/powerpc64-linux/bin/powerpc64-linux- /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. /kisskb/src/sound/aoa/codecs/onyx.c: In function 'onyx_snd_single_bit_get': /kisskb/src/sound/aoa/codecs/onyx.c:380:37: warning: 'c' may be used uninitialized in this function [-Wmaybe-uninitialized] ucontrol->value.integer.value[0] = !!(c & mask) ^ polarity; ^ /kisskb/src/net/Makefile:24: CC cannot link executables. Skipping bpfilter. In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/drivers/ata/ahci_qoriq.c: In function 'ahci_qoriq_hardreset': /kisskb/src/arch/powerpc/include/asm/io.h:633:3: warning: 'px_is' may be used uninitialized in this function [-Wmaybe-uninitialized] ppc_pci_io.name al; \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:14: note: 'px_is' was declared here u32 px_cmd, px_is, px_val; ^ In file included from /kisskb/src/include/linux/io.h:25:0, from /kisskb/src/include/linux/of_address.h:7, from /kisskb/src/drivers/ata/ahci_qoriq.c:18: /kisskb/src/arch/powerpc/include/asm/io.h:142:2: warning: 'px_cmd' may be used uninitialized in this function [-Wmaybe-uninitialized] __asm__ __volatile__("sync;"#insn" %1,%y0" \ ^ /kisskb/src/drivers/ata/ahci_qoriq.c:86:6: note: 'px_cmd' was declared here u32 px_cmd, px_is, px_val; ^ Completed OK # rm -rf /kisskb/build/powerpc-next_powerpc-allmodconfig_powerpc-5.3 # Build took: 0:15:48.902340