# git rev-parse -q --verify fe76fc6aaf538df27708ffa3e5d549a6c8e16142^{commit} fe76fc6aaf538df27708ffa3e5d549a6c8e16142 already have revision, skipping fetch # git checkout -q -f -B kisskb fe76fc6aaf538df27708ffa3e5d549a6c8e16142 # git clean -qxdf # < git log -1 # commit fe76fc6aaf538df27708ffa3e5d549a6c8e16142 # Author: Ming Lei # Date: Tue Jan 15 11:59:52 2019 +0800 # # sbitmap: Protect swap_lock from hardirq # # Because we may call blk_mq_get_driver_tag() directly from # blk_mq_dispatch_rq_list() without holding any lock, then HARDIRQ may # come and the above DEADLOCK is triggered. # # Commit ab53dcfb3e7b ("sbitmap: Protect swap_lock from hardirq") tries to # fix this issue by using 'spin_lock_bh', which isn't enough because we # complete request from hardirq context direclty in case of multiqueue. # # Cc: Clark Williams # Fixes: ab53dcfb3e7b ("sbitmap: Protect swap_lock from hardirq") # Cc: Jens Axboe # Cc: Ming Lei # Cc: Guenter Roeck # Cc: Steven Rostedt (VMware) # Signed-off-by: Ming Lei # Signed-off-by: Linus Torvalds # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-gcc --version # < /opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux-ld --version # < git log --format=%s --max-count=1 fe76fc6aaf538df27708ffa3e5d549a6c8e16142 # < make -s -j 8 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-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 8 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- oldconfig yes: standard output: Broken pipe # make -s -j 8 ARCH=x86 O=/kisskb/build/linus_x86-allmodconfig_x86_64-gcc8 CROSS_COMPILE=/opt/cross/kisskb/korg/gcc-8.1.0-nolibc/x86_64-linux/bin/x86_64-linux- Completed OK # rm -rf /kisskb/build/linus_x86-allmodconfig_x86_64-gcc8 # Build took: 0:42:32.803779