# git rev-parse -q --verify 5450e8a316a64cddcbc15f90733ebc78aa736545^{commit} 5450e8a316a64cddcbc15f90733ebc78aa736545 already have revision, skipping fetch # git checkout -q -f -B kisskb 5450e8a316a64cddcbc15f90733ebc78aa736545 # git clean -qxdf # < git log -1 # commit 5450e8a316a64cddcbc15f90733ebc78aa736545 # Merge: 29cd581b5949 172bb24a4f48 # Author: Linus Torvalds # Date: Wed Jul 10 22:17:21 2019 -0700 # # Merge tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux # # Pull pidfd updates from Christian Brauner: # "This adds two main features. # # - First, it adds polling support for pidfds. This allows process # managers to know when a (non-parent) process dies in a race-free # way. # # The notification mechanism used follows the same logic that is # currently used when the parent of a task is notified of a child's # death. With this patchset it is possible to put pidfds in an # {e}poll loop and get reliable notifications for process (i.e. # thread-group) exit. # # - The second feature compliments the first one by making it possible # to retrieve pollable pidfds for processes that were not created # using CLONE_PIDFD. # # A lot of processes get created with traditional PID-based calls # such as fork() or clone() (without CLONE_PIDFD). For these # processes a caller can currently not create a pollable pidfd. This # is a problem for Android's low memory killer (LMK) and service # managers such as systemd. # # Both patchsets are accompanied by selftests. # # It's perhaps worth noting that the work done so far and the work done # in this branch for pidfd_open() and polling support do already see # some adoption: # # - Android is in the process of backporting this work to all their LTS # kernels [1] # # - Service managers make use of pidfd_send_signal but will need to # wait until we enable waiting on pidfds for full adoption. # # - And projects I maintain make use of both pidfd_send_signal and # CLONE_PIDFD [2] and will use polling support and pidfd_open() too" # # [1] https://android-review.googlesource.com/q/topic:%22pidfd+polling+support+4.9+backport%22 # https://android-review.googlesource.com/q/topic:%22pidfd+polling+support+4.14+backport%22 # https://android-review.googlesource.com/q/topic:%22pidfd+polling+support+4.19+backport%22 # # [2] https://github.com/lxc/lxc/blob/aab6e3eb73c343231cdde775db938994fc6f2803/src/lxc/start.c#L1753 # # * tag 'pidfd-updates-v5.3' of git://git.kernel.org/pub/scm/linux/kernel/git/brauner/linux: # tests: add pidfd_open() tests # arch: wire-up pidfd_open() # pid: add pidfd_open() # pidfd: add polling selftests # pidfd: add polling support # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux-ld --version # < git log --format=%s --max-count=1 5450e8a316a64cddcbc15f90733ebc78aa736545 # < make -s -j 48 ARCH=sh O=/kisskb/build/linus_polaris_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- polaris_defconfig # make -s -j 48 ARCH=sh O=/kisskb/build/linus_polaris_defconfig_sh4 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/sh4-linux/bin/sh4-linux- Generating include/generated/machtypes.h /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S: Assembler messages: /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:385: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence /kisskb/src/arch/sh/kernel/cpu/sh3/../../entry-common.S:388: Warning: overflow in branch to syscall_exit_work; converted into longer instruction sequence In file included from /kisskb/src/arch/sh/math-emu/math.c:23:0: /kisskb/src/include/math-emu/single.h:50:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] In file included from /kisskb/src/arch/sh/math-emu/math.c:24:0: /kisskb/src/include/math-emu/double.h:59:21: warning: "__BIG_ENDIAN" is not defined [-Wundef] /kisskb/src/arch/sh/math-emu/math.c:54:0: warning: "WRITE" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:41:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c:55:0: warning: "READ" redefined [enabled by default] /kisskb/src/include/linux/kernel.h:40:0: note: this is the location of the previous definition /kisskb/src/arch/sh/math-emu/math.c:505:12: warning: 'ieee_fpe_handler' defined but not used [-Wunused-function] /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:194:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c: In function 'init_srcu_struct_fields': /kisskb/src/kernel/rcu/srcutree.c:121:34: warning: 'levelspread[]' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/rcu/srcutree.c:88:6: note: 'levelspread[]' was declared here /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:331:21: note: 'pdeo' was declared here /kisskb/src/drivers/sh/clk/cpg.c: In function 'r8': /kisskb/src/drivers/sh/clk/cpg.c:41:2: warning: passing argument 1 of 'ioread8' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:29:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r16': /kisskb/src/drivers/sh/clk/cpg.c:46:2: warning: passing argument 1 of 'ioread16' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:30:21: note: expected 'void *' but argument is of type 'const void *' /kisskb/src/drivers/sh/clk/cpg.c: In function 'r32': /kisskb/src/drivers/sh/clk/cpg.c:51:2: warning: passing argument 1 of 'ioread32' discards 'const' qualifier from pointer target type [enabled by default] /kisskb/src/include/asm-generic/iomap.h:32:21: note: expected 'void *' but argument is of type 'const void *' Kernel: arch/sh/boot/zImage is ready Completed OK # rm -rf /kisskb/build/linus_polaris_defconfig_sh4 # Build took: 0:00:44.288611