# git rev-parse -q --verify 38e7571c07be01f9f19b355a9306a4e3d5cb0f5b^{commit} 38e7571c07be01f9f19b355a9306a4e3d5cb0f5b already have revision, skipping fetch # git checkout -q -f -B kisskb 38e7571c07be01f9f19b355a9306a4e3d5cb0f5b # git clean -qxdf # < git log -1 # commit 38e7571c07be01f9f19b355a9306a4e3d5cb0f5b # Merge: 80201fe175cb 21b4aa5d20fd # Author: Linus Torvalds # Date: Fri Mar 8 14:48:40 2019 -0800 # # Merge tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-block # # Pull io_uring IO interface from Jens Axboe: # "Second attempt at adding the io_uring interface. # # Since the first one, we've added basic unit testing of the three # system calls, that resides in liburing like the other unit tests that # we have so far. It'll take a while to get full coverage of it, but # we're working towards it. I've also added two basic test programs to # tools/io_uring. One uses the raw interface and has support for all the # various features that io_uring supports outside of standard IO, like # fixed files, fixed IO buffers, and polled IO. The other uses the # liburing API, and is a simplified version of cp(1). # # This adds support for a new IO interface, io_uring. # # io_uring allows an application to communicate with the kernel through # two rings, the submission queue (SQ) and completion queue (CQ) ring. # This allows for very efficient handling of IOs, see the v5 posting for # some basic numbers: # # https://lore.kernel.org/linux-block/20190116175003.17880-1-axboe@kernel.dk/ # # Outside of just efficiency, the interface is also flexible and # extendable, and allows for future use cases like the upcoming NVMe # key-value store API, networked IO, and so on. It also supports async # buffered IO, something that we've always failed to support in the # kernel. # # Outside of basic IO features, it supports async polled IO as well. # This particular feature has already been tested at Facebook months ago # for flash storage boxes, with 25-33% improvements. It makes polled IO # actually useful for real world use cases, where even basic flash sees # a nice win in terms of efficiency, latency, and performance. These # boxes were IOPS bound before, now they are not. # # This series adds three new system calls. One for setting up an # io_uring instance (io_uring_setup(2)), one for submitting/completing # IO (io_uring_enter(2)), and one for aux functions like registrating # file sets, buffers, etc (io_uring_register(2)). Through the help of # Arnd, I've coordinated the syscall numbers so merge on that front # should be painless. # # Jon did a writeup of the interface a while back, which (except for # minor details that have been tweaked) is still accurate. Find that # here: # # https://lwn.net/Articles/776703/ # # Huge thanks to Al Viro for helping getting the reference cycle code # correct, and to Jann Horn for his extensive reviews focused on both # security and bugs in general. # # There's a userspace library that provides basic functionality for # applications that don't need or want to care about how to fiddle with # the rings directly. It has helpers to allow applications to easily set # up an io_uring instance, and submit/complete IO through it without # knowing about the intricacies of the rings. It also includes man pages # (thanks to Jeff Moyer), and will continue to grow support helper # functions and features as time progresses. Find it here: # # git://git.kernel.dk/liburing # # Fio has full support for the raw interface, both in the form of an IO # engine (io_uring), but also with a small test application (t/io_uring) # that can exercise and benchmark the interface" # # * tag 'io_uring-2019-03-06' of git://git.kernel.dk/linux-block: # io_uring: add a few test tools # io_uring: allow workqueue item to handle multiple buffered requests # io_uring: add support for IORING_OP_POLL # io_uring: add io_kiocb ref count # io_uring: add submission polling # io_uring: add file set registration # net: split out functions related to registering inflight socket files # io_uring: add support for pre-mapped user IO buffers # block: implement bio helper to add iter bvec pages to bio # io_uring: batch io_kiocb allocation # io_uring: use fget/fput_many() for file references # fs: add fget_many() and fput_many() # io_uring: support for IO polling # io_uring: add fsync support # Add io_uring IO interface # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-gcc --version # < /opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux-ld --version # < git log --format=%s --max-count=1 38e7571c07be01f9f19b355a9306a4e3d5cb0f5b # < make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- mpc85xx_defconfig # make -s -j 80 ARCH=powerpc O=/kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 CROSS_COMPILE=/opt/cross/kisskb/gcc-4.6.3-nolibc/powerpc-linux/bin/powerpc-linux- :1478:2: warning: #warning syscall io_uring_setup not implemented [-Wcpp] :1481:2: warning: #warning syscall io_uring_enter not implemented [-Wcpp] :1484:2: warning: #warning syscall io_uring_register not implemented [-Wcpp] /kisskb/src/kernel/cgroup/cgroup-v1.c: In function 'cgroup1_mount': /kisskb/src/include/linux/percpu-refcount.h:315:12: warning: 'root' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/cgroup/cgroup-v1.c:1120:22: note: 'root' was declared here /kisskb/src/kernel/printk/printk.c: In function 'devkmsg_sysctl_set_loglvl': /kisskb/src/kernel/printk/printk.c:186:16: warning: 'old' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/kernel/trace/trace_dynevent.c: In function 'create_dyn_event': /kisskb/src/kernel/trace/trace_dynevent.c:89:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c: In function 'wm8960_configure_clocking': /kisskb/src/sound/soc/codecs/wm8960.c:803:70: warning: 'j' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/sound/soc/codecs/wm8960.c:800:68: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/mm/hugetlb.c: In function 'alloc_pool_huge_page': /kisskb/src/mm/hugetlb.c:1435:5: warning: 'page' may be used uninitialized in this function [-Wuninitialized] /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/base/regmap/regmap.c: In function 'regmap_raw_read': /kisskb/src/drivers/base/regmap/regmap.c:2594:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/base/regmap/regmap.c: In function '_regmap_raw_write': /kisskb/src/drivers/base/regmap/regmap.c:1855:6: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/fs/udf/unicode.c: In function 'udf_name_conv_char': /kisskb/src/fs/udf/unicode.c:132:8: warning: 'c' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/i2c/i2c-core-base.c: In function 'i2c_generic_scl_recovery': /kisskb/src/drivers/i2c/i2c-core-base.c:235:5: warning: 'ret' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c: In function 'allocate_bd': /kisskb/src/drivers/net/ethernet/freescale/fs_enet/mac-scc.c:139:6: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast] /kisskb/src/drivers/tty/serial/8250/8250_core.c: In function 'univ8250_release_irq': /kisskb/src/drivers/tty/serial/8250/8250_core.c:247:18: warning: 'i' may be used uninitialized in this function [-Wuninitialized] /kisskb/src/drivers/tty/serial/8250/8250_core.c:227:19: note: 'i' was declared here /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8541cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) /kisskb/src/arch/powerpc/boot/dts/fsl/mpc8555cds.dts:334.3-21: Warning (pci_device_bus_num): /pci@e0008000/i8259@19000:bus-range: PCI bus number 1 out of range, expected (0 - 0) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xbb5044) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) INFO: Uncompressed kernel (size 0xba487c) overlaps the address of the wrapper(0x400000) INFO: Fixing the link_address of wrapper to (0xc00000) Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5656858 Bytes = 5524.28 KiB = 5.39 MiB Load Address: 00000000 Entry Point: 00000000 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687364 Bytes = 5554.07 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687263 Bytes = 5553.97 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687322 Bytes = 5554.03 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687284 Bytes = 5553.99 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687633 Bytes = 5554.33 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687377 Bytes = 5554.08 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687323 Bytes = 5554.03 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687396 Bytes = 5554.10 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002e8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5689606 Bytes = 5556.26 KiB = 5.43 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687285 Bytes = 5553.99 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687369 Bytes = 5554.07 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5689196 Bytes = 5555.86 KiB = 5.43 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5689546 Bytes = 5556.20 KiB = 5.43 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5687365 Bytes = 5554.07 KiB = 5.42 MiB Load Address: 00c00000 Entry Point: 00c002a8 Image Name: Linux-5.0.0-g38e7571c07be Created: Sat Mar 9 11:41:13 2019 Image Type: PowerPC Linux Kernel Image (gzip compressed) Data Size: 5688659 Bytes = 5555.33 KiB = 5.43 MiB Load Address: 00c00000 Entry Point: 00c002a8 Completed OK # rm -rf /kisskb/build/linus_mpc85xx_defconfig_powerpc-gcc4.6 # Build took: 0:01:46.118385