# git rev-parse -q --verify b91e1302ad9b80c174a4855533f7e3aa2873355e^{commit} b91e1302ad9b80c174a4855533f7e3aa2873355e already have revision, skipping fetch # git checkout -q -f -B kisskb b91e1302ad9b80c174a4855533f7e3aa2873355e # git clean -qxdf # git log -1 commit b91e1302ad9b80c174a4855533f7e3aa2873355e Author: Linus Torvalds Date: Tue Dec 27 11:40:38 2016 -0800 mm: optimize PageWaiters bit use for unlock_page() In commit 62906027091f ("mm: add PageWaiters indicating tasks are waiting for a page bit") Nick Piggin made our page locking no longer unconditionally touch the hashed page waitqueue, which not only helps performance in general, but is particularly helpful on NUMA machines where the hashed wait queues can bounce around a lot. However, the "clear lock bit atomically and then test the waiters bit" sequence turns out to be much more expensive than it needs to be, because you get a nasty stall when trying to access the same word that just got updated atomically. On architectures where locking is done with LL/SC, this would be trivial to fix with a new primitive that clears one bit and tests another atomically, but that ends up not working on x86, where the only atomic operations that return the result end up being cmpxchg and xadd. The atomic bit operations return the old value of the same bit we changed, not the value of an unrelated bit. On x86, we could put the lock bit in the high bit of the byte, and use "xadd" with that bit (where the overflow ends up not touching other bits), and look at the other bits of the result. However, an even simpler model is to just use a regular atomic "and" to clear the lock bit, and then the sign bit in eflags will indicate the resulting state of the unrelated bit #7. So by moving the PageWaiters bit up to bit #7, we can atomically clear the lock bit and test the waiters bit on x86 too. And architectures with LL/SC (which is all the usual RISC suspects), the particular bit doesn't matter, so they are fine with this approach too. This avoids the extra access to the same atomic word, and thus avoids the costly stall at page unlock time. The only downside is that the interface ends up being a bit odd and specialized: clear a bit in a byte, and test the sign bit. Nick doesn't love the resulting name of the new primitive, but I'd rather make the name be descriptive and very clear about the limitation imposed by trying to work across all relevant architectures than make it be some generic thing that doesn't make the odd semantics explicit. So this introduces the new architecture primitive clear_bit_unlock_is_negative_byte(); and adds the trivial implementation for x86. We have a generic non-optimized fallback (that just does a "clear_bit()"+"test_bit(7)" combination) which can be overridden by any architecture that can do better. According to Nick, Power has the same hickup x86 has, for example, but some other architectures may not even care. All these optimizations mean that my page locking stress-test (which is just executing a lot of small short-lived shell scripts: "make test" in the git source tree) no longer makes our page locking look horribly bad. Before all these optimizations, just the unlock_page() costs were just over 3% of all CPU overhead on "make test". After this, it's down to 0.66%, so just a quarter of the cost it used to be. (The difference on NUMA is bigger, but there this micro-optimization is likely less noticeable, since the big issue on NUMA was not the accesses to 'struct page', but the waitqueue accesses that were already removed by Nick's earlier commit). Acked-by: Nick Piggin Cc: Dave Hansen Cc: Bob Peterson Cc: Steven Whitehouse Cc: Andrew Lutomirski Cc: Andreas Gruenbacher Cc: Peter Zijlstra Cc: Mel Gorman Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux-gcc --version # < git log --format=%s --max-count=1 b91e1302ad9b80c174a4855533f7e3aa2873355e # < make -j 10 ARCH=sh O=/home/kisskb/slave/build/linus_rsk7203_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- rsk7203_defconfig # make -j 10 ARCH=sh O=/home/kisskb/slave/build/linus_rsk7203_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- make[1]: Entering directory '/home/kisskb/slave/build/linus_rsk7203_defconfig_sh4' GEN ./Makefile scripts/kconfig/conf --silentoldconfig Kconfig CHK include/config/kernel.release UPD include/config/kernel.release GEN ./Makefile WRAP arch/sh/include/generated/asm/bitsperlong.h WRAP arch/sh/include/generated/asm/clkdev.h WRAP arch/sh/include/generated/asm/cputime.h WRAP arch/sh/include/generated/asm/delay.h WRAP arch/sh/include/generated/asm/current.h WRAP arch/sh/include/generated/asm/div64.h WRAP arch/sh/include/generated/asm/emergency-restart.h WRAP arch/sh/include/generated/asm/errno.h WRAP arch/sh/include/generated/asm/exec.h WRAP arch/sh/include/generated/asm/fcntl.h WRAP arch/sh/include/generated/asm/ioctl.h WRAP arch/sh/include/generated/asm/ipcbuf.h WRAP arch/sh/include/generated/asm/irq_regs.h WRAP arch/sh/include/generated/asm/irq_work.h WRAP arch/sh/include/generated/asm/kvm_para.h WRAP arch/sh/include/generated/asm/local.h WRAP arch/sh/include/generated/asm/local64.h WRAP arch/sh/include/generated/asm/mcs_spinlock.h WRAP arch/sh/include/generated/asm/mm-arch-hooks.h WRAP arch/sh/include/generated/asm/mman.h WRAP arch/sh/include/generated/asm/msgbuf.h WRAP arch/sh/include/generated/asm/param.h WRAP arch/sh/include/generated/asm/parport.h WRAP arch/sh/include/generated/asm/percpu.h WRAP arch/sh/include/generated/asm/poll.h WRAP arch/sh/include/generated/asm/preempt.h WRAP arch/sh/include/generated/asm/resource.h WRAP arch/sh/include/generated/asm/rwsem.h WRAP arch/sh/include/generated/asm/sembuf.h WRAP arch/sh/include/generated/asm/serial.h WRAP arch/sh/include/generated/asm/shmbuf.h WRAP arch/sh/include/generated/asm/siginfo.h WRAP arch/sh/include/generated/asm/sizes.h WRAP arch/sh/include/generated/asm/socket.h WRAP arch/sh/include/generated/asm/statfs.h WRAP arch/sh/include/generated/asm/termbits.h WRAP arch/sh/include/generated/asm/termios.h WRAP arch/sh/include/generated/asm/trace_clock.h WRAP arch/sh/include/generated/asm/ucontext.h WRAP arch/sh/include/generated/asm/xor.h CHK include/generated/uapi/linux/version.h UPD include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h UPD include/generated/utsrelease.h HOSTCC scripts/basic/bin2c Using /home/kisskb/slave/src as source for kernel HOSTCC scripts/kallsyms HOSTCC scripts/conmakehash CC scripts/mod/empty.o HOSTCC scripts/mod/mk_elfconfig CC scripts/mod/devicetable-offsets.s GEN scripts/mod/devicetable-offsets.h Generating include/generated/machtypes.h MKELF scripts/mod/elfconfig.h HOSTCC scripts/mod/modpost.o HOSTCC scripts/mod/file2alias.o HOSTCC scripts/mod/sumversion.o CHK include/generated/timeconst.h CC kernel/bounds.s UPD include/generated/timeconst.h CHK include/generated/bounds.h UPD include/generated/bounds.h CC arch/sh/kernel/asm-offsets.s CHK include/generated/asm-offsets.h UPD include/generated/asm-offsets.h CALL /home/kisskb/slave/src/scripts/checksyscalls.sh HOSTLD scripts/mod/modpost :1316:2: warning: #warning syscall pkey_mprotect not implemented [-Wcpp] :1319:2: warning: #warning syscall pkey_alloc not implemented [-Wcpp] :1322:2: warning: #warning syscall pkey_free not implemented [-Wcpp] CC init/main.o CHK include/generated/compile.h CC init/do_mounts.o CC init/do_mounts_initrd.o CC init/initramfs.o CC init/init_task.o HOSTCC usr/gen_init_cpio UPD include/generated/compile.h CC init/version.o AS arch/sh/kernel/debugtraps.o CC arch/sh/mm/alignment.o CC arch/sh/kernel/dma-nommu.o LD arch/sh/boards/built-in.o CC arch/sh/mm/cache.o GEN usr/initramfs_data.cpio".gz" CC arch/sh/mm/init.o AS usr/initramfs_data.o LD usr/built-in.o CC arch/sh/mm/consistent.o CC arch/sh/mm/mmap.o CC arch/sh/boards/mach-rsk/setup.o CC arch/sh/kernel/dumpstack.o CC arch/sh/kernel/idle.o CC arch/sh/kernel/io.o CC arch/sh/kernel/irq.o CC kernel/fork.o CC arch/sh/boards/mach-rsk/devices-rsk7203.o CC arch/sh/mm/cache-sh2a.o CC arch/sh/kernel/irq_32.o CC kernel/exec_domain.o CC kernel/panic.o LD certs/built-in.o CC kernel/cpu.o CC kernel/exit.o LD init/mounts.o LD init/built-in.o CC kernel/softirq.o CC arch/sh/mm/nommu.o CC arch/sh/mm/extable_32.o CC arch/sh/kernel/kdebugfs.o LD arch/sh/boards/mach-rsk/built-in.o CC arch/sh/mm/asids-debugfs.o CC arch/sh/mm/uncached.o CC arch/sh/kernel/machvec.o CC arch/sh/kernel/nmi_debug.o CC mm/filemap.o CC fs/open.o CC mm/mempool.o CC mm/oom_kill.o CC kernel/resource.o LD arch/sh/mm/built-in.o CC kernel/sysctl.o CC arch/sh/kernel/process.o CC kernel/sysctl_binary.o /home/kisskb/slave/src/mm/filemap.c: In function 'clear_bit_unlock_is_negative_byte': /home/kisskb/slave/src/mm/filemap.c:933:9: error: too few arguments to function 'test_bit' return test_bit(PG_waiters); ^ In file included from /home/kisskb/slave/src/arch/sh/include/asm/bitops.h:18:0, from /home/kisskb/slave/src/include/linux/bitops.h:36, from /home/kisskb/slave/src/include/linux/kernel.h:10, from /home/kisskb/slave/src/include/linux/list.h:8, from /home/kisskb/slave/src/include/linux/wait.h:6, from /home/kisskb/slave/src/include/linux/fs.h:5, from /home/kisskb/slave/src/include/linux/dax.h:4, from /home/kisskb/slave/src/mm/filemap.c:14: /home/kisskb/slave/src/arch/sh/include/asm/bitops-op32.h:137:19: note: declared here static inline int test_bit(int nr, const volatile unsigned long *addr) ^ /home/kisskb/slave/src/mm/filemap.c:934:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ /home/kisskb/slave/src/scripts/Makefile.build:293: recipe for target 'mm/filemap.o' failed make[2]: *** [mm/filemap.o] Error 1 make[2]: *** Waiting for unfinished jobs.... CC ipc/util.o CC ipc/msgutil.o CC arch/sh/kernel/process_32.o CC ipc/msg.o /home/kisskb/slave/src/Makefile:988: recipe for target 'mm' failed make[1]: *** [mm] Error 2 make[1]: *** Waiting for unfinished jobs.... CC fs/read_write.o CC ipc/sem.o CC kernel/capability.o CC arch/sh/kernel/ptrace.o CC arch/sh/kernel/ptrace_32.o CC fs/file_table.o CC fs/super.o CC kernel/ptrace.o CC kernel/user.o CC kernel/signal.o CC kernel/sys.o CC fs/char_dev.o CC fs/stat.o CC ipc/shm.o CC arch/sh/kernel/reboot.o CC arch/sh/kernel/return_address.o CC arch/sh/kernel/setup.o CC kernel/kmod.o CC kernel/workqueue.o CC ipc/syscall.o CC ipc/ipc_sysctl.o CC arch/sh/kernel/signal_32.o CC fs/exec.o CC fs/pipe.o CC fs/namei.o CC ipc/mqueue.o CC kernel/pid.o CC kernel/task_work.o CC arch/sh/kernel/sys_sh.o CC kernel/extable.o AS arch/sh/kernel/syscalls_32.o CC arch/sh/kernel/time.o CC arch/sh/kernel/topology.o CC kernel/params.o CC kernel/kthread.o CC ipc/namespace.o CC ipc/mq_sysctl.o CC kernel/sys_ni.o CC kernel/nsproxy.o CC arch/sh/kernel/traps.o CC arch/sh/kernel/traps_32.o CC kernel/notifier.o CC kernel/ksysfs.o LD ipc/built-in.o CC kernel/cred.o CC fs/fcntl.o CC arch/sh/kernel/unwinder.o CC fs/ioctl.o CC arch/sh/kernel/iomap.o CC arch/sh/kernel/sys_sh32.o CC fs/readdir.o CC kernel/reboot.o CC fs/select.o CC fs/dcache.o CC arch/sh/kernel/cpu/irq/imask.o CC kernel/async.o CC fs/inode.o AS arch/sh/kernel/cpu/sh2a/ex.o CC arch/sh/kernel/cpu/clock-cpg.o LD arch/sh/kernel/cpu/irq/built-in.o AS arch/sh/kernel/cpu/sh2a/entry.o CC fs/attr.o /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S: Assembler messages: /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S:389: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /home/kisskb/slave/src/arch/sh/kernel/cpu/sh2a/../../entry-common.S:392: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence CC arch/sh/kernel/cpu/sh2a/probe.o CC arch/sh/kernel/cpu/sh2a/opcode_helper.o CC arch/sh/kernel/cpu/sh2a/fpu.o CC arch/sh/kernel/sh_ksyms_32.o CC kernel/range.o CC arch/sh/kernel/cpu/init.o CC arch/sh/kernel/cpu/sh2a/setup-sh7203.o /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'cpg_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:52:3: warning: 'arch_init_clk_ops' is deprecated [-Wdeprecated-declarations] arch_init_clk_ops(&clk->ops, i); ^ In file included from /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:6:0: /home/kisskb/slave/src/arch/sh/include/asm/clock.h:7:19: note: declared here void __deprecated arch_init_clk_ops(struct sh_clk_ops **, int type); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c: In function 'arch_clk_init': /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:76:2: warning: 'cpg_clk_init' is deprecated [-Wdeprecated-declarations] return cpg_clk_init(); ^ /home/kisskb/slave/src/arch/sh/kernel/cpu/clock-cpg.c:46:25: note: declared here int __init __deprecated cpg_clk_init(void) ^ CC kernel/smpboot.o CC arch/sh/kernel/cpu/clock.o CC arch/sh/kernel/module.o CC fs/bad_inode.o CC fs/file.o CC fs/filesystems.o CC arch/sh/kernel/cpu/sh2a/clock-sh7203.o CC arch/sh/kernel/cpu/fpu.o CC kernel/ucount.o CC fs/namespace.o CC fs/seq_file.o CC arch/sh/kernel/cpu/sh2a/pinmux-sh7203.o CC arch/sh/kernel/disassemble.o LD arch/sh/kernel/cpu/sh2a/common.o LD arch/sh/kernel/cpu/sh2a/built-in.o CC arch/sh/kernel/perf_event.o CC arch/sh/kernel/cpu/pfc.o CC kernel/groups.o CC arch/sh/kernel/perf_callchain.o CC arch/sh/kernel/hw_breakpoint.o CC arch/sh/kernel/cpu/proc.o AS arch/sh/kernel/head_32.o CC kernel/bpf/core.o CC kernel/events/core.o CC kernel/irq/irqdesc.o LDS arch/sh/kernel/vmlinux.lds CC kernel/events/ring_buffer.o LD kernel/livepatch/built-in.o CC kernel/locking/mutex.o CC kernel/power/qos.o LD arch/sh/kernel/cpu/built-in.o CC fs/xattr.o CC kernel/locking/semaphore.o LD arch/sh/kernel/built-in.o CC kernel/locking/rwsem.o CC kernel/printk/printk.o CC kernel/rcu/update.o CC kernel/irq/handle.o CC kernel/power/main.o CC kernel/power/poweroff.o CC kernel/rcu/sync.o CC kernel/rcu/srcu.o CC kernel/rcu/tiny.o LD kernel/power/built-in.o CC fs/libfs.o CC kernel/irq/manage.o CC kernel/locking/percpu-rwsem.o CC kernel/locking/mutex-debug.o CC kernel/sched/core.o LD kernel/bpf/built-in.o CC kernel/sched/loadavg.o CC kernel/sched/clock.o CC kernel/time/time.o LD kernel/rcu/built-in.o CC kernel/time/timer.o CC kernel/locking/rtmutex.o CC kernel/time/hrtimer.o CC kernel/time/timekeeping.o CC fs/fs-writeback.o /home/kisskb/slave/src/kernel/sched/core.c: In function 'pick_next_task': /home/kisskb/slave/src/kernel/sched/core.c:3293:1: warning: control reaches end of non-void function [-Wreturn-type] } ^ CC kernel/irq/spurious.o CC kernel/printk/nmi.o LD kernel/printk/built-in.o CC kernel/irq/resend.o CC kernel/irq/chip.o CC kernel/locking/rwsem-spinlock.o CC kernel/trace/trace_clock.o CC kernel/trace/ring_buffer.o CC kernel/profile.o CC kernel/time/ntp.o LD kernel/locking/built-in.o CC kernel/time/clocksource.o CC kernel/time/jiffies.o CC kernel/irq/dummychip.o CC fs/pnode.o CC fs/splice.o CC kernel/futex.o CC kernel/time/timer_list.o CC kernel/irq/devres.o CC kernel/sched/cputime.o CC fs/sync.o CC kernel/sched/idle_task.o CC kernel/sched/fair.o CC kernel/time/timeconv.o CC kernel/irq/irqdomain.o CC kernel/time/timecounter.o CC kernel/time/alarmtimer.o CC kernel/time/posix-timers.o CC fs/utimes.o CC fs/stack.o CC kernel/irq/proc.o CC fs/fs_struct.o CC kernel/sched/rt.o LD kernel/trace/built-in.o CC kernel/time/posix-cpu-timers.o CC kernel/time/posix-clock.o CC kernel/events/callchain.o CC kernel/events/hw_breakpoint.o CC fs/statfs.o CC kernel/up.o LD kernel/irq/built-in.o CC kernel/time/itimer.o CC kernel/sched/deadline.o CC fs/fs_pin.o CC kernel/time/clockevents.o CC kernel/sched/stop_task.o CC kernel/time/tick-common.o CC fs/nsfs.o CC kernel/sched/wait.o LD kernel/events/built-in.o CC kernel/sched/swait.o CC kernel/sched/completion.o CC kernel/sched/idle.o CC fs/buffer.o CC kernel/uid16.o CC kernel/module.o CC kernel/time/sched_clock.o CC kernel/kallsyms.o CC kernel/sched/debug.o CC kernel/acct.o CC kernel/utsname.o CC kernel/user_namespace.o CC kernel/time/timekeeping_debug.o CC fs/block_dev.o CC kernel/sched/cpufreq.o CC kernel/pid_namespace.o CC fs/direct-io.o LD kernel/time/built-in.o CC fs/mpage.o GZIP kernel/config_data.gz CC kernel/hung_task.o LD kernel/sched/built-in.o CC fs/proc_namespace.o CC kernel/utsname_sysctl.o CC kernel/elfcore.o CC kernel/irq_work.o CC fs/devpts/inode.o CC fs/debugfs/inode.o CC kernel/membarrier.o LD fs/exofs/built-in.o CC fs/exportfs/expfs.o CC fs/debugfs/file.o CC fs/kernfs/mount.o CC fs/kernfs/inode.o CC kernel/memremap.o CC fs/kernfs/dir.o LD fs/exportfs/exportfs.o LD fs/exportfs/built-in.o CC fs/lockd/clntlock.o LD fs/devpts/devpts.o LD fs/devpts/built-in.o CC fs/lockd/clntproc.o CC fs/lockd/clntxdr.o CC fs/lockd/host.o CHK kernel/config_data.h UPD kernel/config_data.h CC kernel/configs.o CC fs/lockd/svc.o CC fs/nfs/client.o LD fs/debugfs/debugfs.o LD fs/debugfs/built-in.o CC fs/nfs/dir.o LD kernel/built-in.o CC fs/nfs/file.o CC fs/kernfs/file.o CC fs/kernfs/symlink.o CC fs/nfs_common/grace.o CC fs/lockd/svclock.o CC fs/nls/nls_base.o CC fs/lockd/svcshare.o CC fs/lockd/svcproc.o CC fs/nfs/getroot.o LD fs/kernfs/built-in.o CC fs/notify/fsnotify.o LD fs/nfs_common/built-in.o CC fs/nfs/inode.o LD fs/nls/built-in.o CC fs/proc/nommu.o CC fs/notify/notification.o LD fs/quota/built-in.o CC fs/ramfs/inode.o CC fs/ramfs/file-nommu.o CC fs/lockd/svcsubs.o CC fs/lockd/mon.o CC fs/lockd/xdr.o CC fs/nfs/super.o CC fs/proc/task_nommu.o CC fs/notify/group.o CC fs/proc/inode.o CC fs/proc/root.o LD fs/ramfs/ramfs.o LD fs/ramfs/built-in.o CC fs/proc/base.o CC fs/notify/inode_mark.o CC fs/proc/generic.o CC fs/romfs/storage.o CC fs/sysfs/file.o CC fs/romfs/super.o CC fs/sysfs/dir.o CC fs/notify/mark.o CC fs/lockd/clnt4xdr.o CC fs/lockd/xdr4.o CC fs/lockd/svc4proc.o CC fs/lockd/procfs.o CC fs/sysfs/symlink.o CC fs/proc/array.o CC fs/nfs/io.o LD fs/romfs/romfs.o LD fs/romfs/built-in.o CC fs/nfs/direct.o CC fs/notify/vfsmount_mark.o CC fs/notify/fdinfo.o CC fs/eventpoll.o CC fs/sysfs/mount.o CC fs/sysfs/group.o CC fs/anon_inodes.o LD fs/notify/dnotify/built-in.o LD fs/notify/fanotify/built-in.o CC fs/signalfd.o CC fs/notify/inotify/inotify_fsnotify.o CC fs/nfs/pagelist.o CC fs/proc/fd.o LD fs/lockd/lockd.o LD fs/lockd/built-in.o CC fs/notify/inotify/inotify_user.o CC fs/timerfd.o CC fs/eventfd.o CC fs/nfs/read.o LD fs/sysfs/built-in.o CC fs/nfs/symlink.o CC fs/aio.o CC fs/proc/proc_tty.o CC fs/proc/cmdline.o CC fs/locks.o CC fs/binfmt_script.o CC fs/proc/consoles.o LD fs/notify/inotify/built-in.o LD fs/notify/built-in.o CC fs/nfs/unlink.o CC fs/nfs/write.o CC fs/nfs/namespace.o CC fs/proc/cpuinfo.o CC fs/proc/devices.o CC fs/proc/interrupts.o CC fs/binfmt_elf_fdpic.o CC fs/binfmt_flat.o CC fs/proc/loadavg.o CC fs/coredump.o CC fs/drop_caches.o /home/kisskb/slave/src/fs/binfmt_elf_fdpic.c: In function 'elf_fdpic_dump_segments': /home/kisskb/slave/src/fs/binfmt_elf_fdpic.c:1488:17: warning: unused variable 'addr' [-Wunused-variable] unsigned long addr; ^ CC fs/proc/meminfo.o CC fs/nfs/mount_clnt.o CC fs/nfs/nfstrace.o CC fs/nfs/nfsroot.o CC fs/nfs/sysctl.o CC fs/nfs/nfs2super.o CC fs/fhandle.o CC fs/proc/stat.o CC fs/proc/uptime.o CC fs/proc/version.o CC fs/proc/softirqs.o CC fs/nfs/proc.o CC fs/nfs/nfs2xdr.o CC fs/proc/namespaces.o CC fs/proc/self.o CC fs/nfs/nfs3super.o CC fs/nfs/nfs3client.o CC fs/dcookies.o CC fs/proc/thread_self.o CC fs/proc/proc_sysctl.o CC fs/proc/proc_net.o CC fs/nfs/nfs3proc.o CC fs/nfs/nfs3xdr.o CC fs/proc/kmsg.o LD fs/nfs/nfs.o LD fs/nfs/nfsv2.o LD fs/proc/proc.o LD fs/proc/built-in.o LD fs/nfs/nfsv3.o LD fs/nfs/built-in.o LD fs/built-in.o make[1]: Leaving directory '/home/kisskb/slave/build/linus_rsk7203_defconfig_sh4' Makefile:150: recipe for target 'sub-make' failed make: *** [sub-make] Error 2 Command 'make -j 10 ARCH=sh O=/home/kisskb/slave/build/linus_rsk7203_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/br-sh4-full-2016.08-613-ge98b4dd/bin/sh4-linux- ' returned non-zero exit status 2 # rm -rf /home/kisskb/slave/build/linus_rsk7203_defconfig_sh4 # Build took: 0:00:31.784866