1. 18 Mar, 2022 11 commits
  2. 01 Mar, 2022 19 commits
  3. 27 Feb, 2022 4 commits
  4. 26 Feb, 2022 6 commits
    • Linus Torvalds's avatar
      Merge tag 'trace-v5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace · 2293be58
      Linus Torvalds authored
      Pull tracing fixes from Steven Rostedt:
      
       - rtla (Real-Time Linux Analysis tool):
          - fix typo in man page
          - Update API -e to -E before it is released
          - Error message fix and memory leak fix
      
       - Partially uninline trace event soft disable to shrink text
      
       - Fix function graph start up test
      
       - Have triggers affect the trace instance they are in and not top level
      
       - Have osnoise sleep in the units it says it uses
      
       - Remove unused ftrace stub function
      
       - Remove event probe redundant info from event in the buffer
      
       - Fix group ownership setting in tracefs
      
       - Ensure trace buffer is minimum size to prevent crashes
      
      * tag 'trace-v5.17-rc4' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-trace:
        rtla/osnoise: Fix error message when failing to enable trace instance
        rtla/osnoise: Free params at the exit
        rtla/hist: Make -E the short version of --entries
        tracing: Fix selftest config check for function graph start up test
        tracefs: Set the group ownership in apply_options() not parse_options()
        tracing/osnoise: Make osnoise_main to sleep for microseconds
        ftrace: Remove unused ftrace_startup_enable() stub
        tracing: Ensure trace buffer is at least 4096 bytes large
        tracing: Uninline trace_trigger_soft_disabled() partly
        eprobes: Remove redundant event type information
        tracing: Have traceon and traceoff trigger honor the instance
        tracing: Dump stacktrace trigger to the corresponding instance
        rtla: Fix systme -> system typo on man page
      2293be58
    • Linus Torvalds's avatar
      Merge tag 'fixes-2022-02-26' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock · e41898d2
      Linus Torvalds authored
      Pull memblock fix from Mike Rapoport:
       "Use kfree() to release kmalloced memblock regions
      
        memblock.{reserved,memory}.regions may be allocated using kmalloc()
        in memblock_double_array(). Use kfree() to release these kmalloced
        regions"
      
      * tag 'fixes-2022-02-26' of git://git.kernel.org/pub/scm/linux/kernel/git/rppt/memblock:
        memblock: use kfree() to release kmalloced memblock regions
      e41898d2
    • Linus Torvalds's avatar
      Merge branch 'akpm' (patches from Andrew) · 086ee11b
      Linus Torvalds authored
      Merge misc fixes from Andrew Morton:
       "12 patches.
      
        Subsystems affected by this patch series: MAINTAINERS, mailmap, memfd,
        and mm (hugetlb, kasan, hugetlbfs, pagemap, selftests, memcg, and
        slab)"
      
      * emailed patches from Andrew Morton <akpm@linux-foundation.org>:
        selftests/memfd: clean up mapping in mfd_fail_write
        mailmap: update Roman Gushchin's email
        MAINTAINERS, SLAB: add Roman as reviewer, git tree
        MAINTAINERS: add Shakeel as a memcg co-maintainer
        MAINTAINERS: remove Vladimir from memcg maintainers
        MAINTAINERS: add Roman as a memcg co-maintainer
        selftest/vm: fix map_fixed_noreplace test failure
        mm: fix use-after-free bug when mm->mmap is reused after being freed
        hugetlbfs: fix a truncation issue in hugepages parameter
        kasan: test: prevent cache merging in kmem_cache_double_destroy
        mm/hugetlb: fix kernel crash with hugetlb mremap
        MAINTAINERS: add sysctl-next git tree
      086ee11b
    • Linus Torvalds's avatar
      Merge tag 'riscv-for-linus-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux · 2c8c230e
      Linus Torvalds authored
      Pull RISC-V fixes from Palmer Dabbelt:
      
       - A fix for the K210 sdcard defconfig, to avoid using a
         fixed delay for the root FS
      
       - A fix to make sure there's a proper call frame for
         trace_hardirqs_{on,off}().
      
      * tag 'riscv-for-linus-5.17-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/riscv/linux:
        riscv: fix oops caused by irqsoff latency tracer
        riscv: fix nommu_k210_sdcard_defconfig
      2c8c230e
    • Linus Torvalds's avatar
      Merge tag 'xfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux · 3bd9dd81
      Linus Torvalds authored
      Pull xfs fixes from Darrick Wong:
       "Nothing exciting, just more fixes for not returning sync_filesystem
        error values (and eliding it when it's not necessary).
      
        Summary:
      
         - Only call sync_filesystem when we're remounting the filesystem
           readonly readonly, and actually check its return value"
      
      * tag 'xfs-5.17-fixes-2' of git://git.kernel.org/pub/scm/fs/xfs/xfs-linux:
        xfs: only bother with sync_filesystem during readonly remount
      3bd9dd81
    • Mike Kravetz's avatar
      selftests/memfd: clean up mapping in mfd_fail_write · fda153c8
      Mike Kravetz authored
      Running the memfd script ./run_hugetlbfs_test.sh will often end in error
      as follows:
      
          memfd-hugetlb: CREATE
          memfd-hugetlb: BASIC
          memfd-hugetlb: SEAL-WRITE
          memfd-hugetlb: SEAL-FUTURE-WRITE
          memfd-hugetlb: SEAL-SHRINK
          fallocate(ALLOC) failed: No space left on device
          ./run_hugetlbfs_test.sh: line 60: 166855 Aborted                 (core dumped) ./memfd_test hugetlbfs
          opening: ./mnt/memfd
          fuse: DONE
      
      If no hugetlb pages have been preallocated, run_hugetlbfs_test.sh will
      allocate 'just enough' pages to run the test.  In the SEAL-FUTURE-WRITE
      test the mfd_fail_write routine maps the file, but does not unmap.  As a
      result, two hugetlb pages remain reserved for the mapping.  When the
      fallocate call in the SEAL-SHRINK test attempts allocate all hugetlb
      pages, it is short by the two reserved pages.
      
      Fix by making sure to unmap in mfd_fail_write.
      
      Link: https://lkml.kernel.org/r/20220219004340.56478-1-mike.kravetz@oracle.comSigned-off-by: default avatarMike Kravetz <mike.kravetz@oracle.com>
      Cc: Joel Fernandes <joel@joelfernandes.org>
      Cc: Shuah Khan <shuah@kernel.org>
      Signed-off-by: default avatarAndrew Morton <akpm@linux-foundation.org>
      Signed-off-by: default avatarLinus Torvalds <torvalds@linux-foundation.org>
      fda153c8