15 Jan, 2021

1 commit


13 Jan, 2021

1 commit


12 Jan, 2021

1 commit


08 Jan, 2021

1 commit

  • A task can migrate either while it is waking or while it
    is running via load balancer. Print the task status
    i.e running or not in sched_migrate_task. This helps in
    counting the different types of migrations without relying
    on other trace events.

    Bug: 176709810
    Change-Id: Ib473f9ccdc78003bb1f5d2dc24354f2db7a684f5
    Signed-off-by: Pavankumar Kondeti
    Signed-off-by: Satya Durga Srinivasu Prabhala

    Pavankumar Kondeti
     

07 Jan, 2021

1 commit

  • Add vendor hook tracepoints to track when cpu util gets
    updated and when freq is choosen.

    Bug: 174488007
    Signed-off-by: Saravana Kannan
    Signed-off-by: Rohit Gupta
    Signed-off-by: Jonathan Avila
    Signed-off-by: Jimmy Shiu
    Change-Id: Ibb22fd0337a2539820a05b1e6b54b09aeaebd040
    Signed-off-by: Will McVicker

    Jimmy Shiu
     

29 Dec, 2020

1 commit

  • * aosp/upstream-f2fs-stable-linux-5.10.y:
    f2fs: compress: fix compression chksum
    f2fs: fix shift-out-of-bounds in sanity_check_raw_super()
    f2fs: fix race of pending_pages in decompression
    f2fs: fix to account inline xattr correctly during recovery
    f2fs: inline: fix wrong inline inode stat
    f2fs: inline: correct comment in f2fs_recover_inline_data
    f2fs: don't check PAGE_SIZE again in sanity_check_raw_super()
    f2fs: convert to F2FS_*_INO macro
    f2fs: introduce max_io_bytes, a sysfs entry, to limit bio size
    f2fs: don't allow any writes on readonly mount
    f2fs: avoid race condition for shrinker count
    f2fs: add F2FS_IOC_DECOMPRESS_FILE and F2FS_IOC_COMPRESS_FILE
    f2fs: add compress_mode mount option
    f2fs: Remove unnecessary unlikely()
    f2fs: init dirty_secmap incorrectly
    f2fs: remove buffer_head which has 32bits limit
    f2fs: fix wrong block count instead of bytes
    f2fs: use new conversion functions between blks and bytes
    f2fs: rename logical_to_blk and blk_to_logical
    f2fs: fix kbytes written stat for multi-device case
    f2fs: compress: support chksum
    f2fs: fix to avoid REQ_TIME and CP_TIME collision
    f2fs: change to use rwsem for cp_mutex
    f2fs: Handle casefolding with Encryption
    fscrypt: Have filesystems handle their d_ops
    libfs: Add generic function for setting dentry_ops
    f2fs: Remove the redundancy initialization
    f2fs: remove writeback_inodes_sb in f2fs_remount
    f2fs: fix double free of unicode map
    f2fs: fix compat F2FS_IOC_{MOVE,GARBAGE_COLLECT}_RANGE
    f2fs: avoid unneeded data copy in f2fs_ioc_move_range()
    f2fs: add F2FS_IOC_SET_COMPRESS_OPTION ioctl
    f2fs: add F2FS_IOC_GET_COMPRESS_OPTION ioctl
    f2fs: move ioctl interface definitions to separated file
    f2fs: fix to seek incorrect data offset in inline data file
    f2fs: call f2fs_get_meta_page_retry for nat page

    Bug: 174873661
    Signed-off-by: Jaegeuk Kim
    Change-Id: I1edcbc31855a7b9d5fd5623ad0fd420e4885eaf2

    Jaegeuk Kim
     

24 Dec, 2020

1 commit

  • Add a tracepoint for pause and resume which measures the
    duration of time to perform the entire operation, the
    cpus acted upon with this event, and the current state
    of the active cpu mask. This should be sufficient
    for testing pause performance.

    Bug: 175959069
    Change-Id: I9fc269c7d09ac78ec31612d3c552044b72b0e6e3
    Signed-off-by: Stephen Dickey

    Stephen Dickey
     

22 Dec, 2020

1 commit

  • Like other filesystem does, we introduce a new file f2fs.h in path of
    include/uapi/linux/, and move f2fs-specified ioctl interface definitions
    to that file, after then, in order to use those definitions, userspace
    developer only need to include the new header file rather than
    copy & paste definitions from fs/f2fs/f2fs.h.

    Signed-off-by: Chao Yu
    Signed-off-by: Jaegeuk Kim

    Chao Yu
     

28 Nov, 2020

1 commit


25 Nov, 2020

1 commit

  • The bdi_dev_name() returns a char [64], and
    the __entry->name is a char [32].

    It maybe dangerous to TP_printk("%s", __entry->name)
    after the strncpy().

    CC: stable@vger.kernel.org
    Link: https://lore.kernel.org/r/20201124165205.GA23937@rlk
    Acked-by: Steven Rostedt (VMware)
    Acked-by: Tejun Heo
    Signed-off-by: Hui Su
    Signed-off-by: Jan Kara

    Hui Su
     

20 Nov, 2020

1 commit


19 Nov, 2020

1 commit


13 Nov, 2020

1 commit


12 Nov, 2020

1 commit


11 Nov, 2020

1 commit

  • Tasklets are supposed to finish their work quickly and
    should not block the current running process, but it is not
    guaranteed that. Currently softirq_entry/exit can be used to
    know total tasklets execution time, but not helpful to track
    individual tasklet's execution time. With that we can't find
    any culprit tasklet function, which is taking more time.

    Add {hi}-tasklet_entry/exit trace point support to track
    individual tasklet execution.

    Bug: 168521633
    Change-Id: I3496d15f64d020916774e673ccb4a8116ea2f2c9
    Signed-off-by: Lingutla Chandrasekhar
    [elavila: Port to mainline]
    Signed-off-by: J. Avila

    Lingutla Chandrasekhar
     

10 Nov, 2020

1 commit

  • Pull nfsd fixes from Bruce Fields:
    "This is mainly server-to-server copy and fallout from Chuck's 5.10 rpc
    refactoring"

    * tag 'nfsd-5.10-1' of git://linux-nfs.org/~bfields/linux:
    net/sunrpc: fix useless comparison in proc_do_xprt()
    net/sunrpc: return 0 on attempt to write to "transports"
    NFSD: fix missing refcount in nfsd4_copy by nfsd4_do_async_copy
    NFSD: Fix use-after-free warning when doing inter-server copy
    NFSD: MKNOD should return NFSERR_BADTYPE instead of NFSERR_INVAL
    SUNRPC: Fix general protection fault in trace_rpc_xdr_overflow()
    NFSD: NFSv3 PATHCONF Reply is improperly formed

    Linus Torvalds
     

07 Nov, 2020

2 commits

  • Fast commits don't work with data journalling. This patch disables the
    fast commit support when data journalling is turned on.

    Suggested-by: Jan Kara
    Signed-off-by: Harshad Shirwadkar
    Reviewed-by: Jan Kara
    Link: https://lore.kernel.org/r/20201106035911.1942128-19-harshadshirwadkar@gmail.com
    Signed-off-by: Theodore Ts'o

    Harshad Shirwadkar
     
  • If inode gets evicted due to memory pressure, we have to remove it
    from the fast commit list. However, that inode may have uncommitted
    changes that fast commits will lose. So, just fall back to full
    commits in this case. Also, rename the fast commit ineligiblity reason
    from "EXT4_FC_REASON_MEM" to "EXT4_FC_REASON_MEM_NOMEM" for better
    expression.

    Suggested-by: Jan Kara
    Signed-off-by: Harshad Shirwadkar
    Link: https://lore.kernel.org/r/20201106035911.1942128-3-harshadshirwadkar@gmail.com
    Signed-off-by: Theodore Ts'o

    Harshad Shirwadkar
     

06 Nov, 2020

1 commit


02 Nov, 2020

1 commit


29 Oct, 2020

2 commits

  • Fix afs_invalidatepage() to adjust the dirty region recorded in
    page->private when truncating a page. If the dirty region is entirely
    removed, then the private data is cleared and the page dirty state is
    cleared.

    Without this, if the page is truncated and then expanded again by truncate,
    zeros from the expanded, but no-longer dirty region may get written back to
    the server if the page gets laundered due to a conflicting 3rd-party write.

    It mustn't, however, shorten the dirty region of the page if that page is
    still mmapped and has been marked dirty by afs_page_mkwrite(), so a flag is
    stored in page->private to record this.

    Fixes: 4343d00872e1 ("afs: Get rid of the afs_writeback record")
    Signed-off-by: David Howells

    David Howells
     
  • The afs filesystem uses page->private to store the dirty range within a
    page such that in the event of a conflicting 3rd-party write to the server,
    we write back just the bits that got changed locally.

    However, there are a couple of problems with this:

    (1) I need a bit to note if the page might be mapped so that partial
    invalidation doesn't shrink the range.

    (2) There aren't necessarily sufficient bits to store the entire range of
    data altered (say it's a 32-bit system with 64KiB pages or transparent
    huge pages are in use).

    So wrap the accesses in inline functions so that future commits can change
    how this works.

    Also move them out of the tracing header into the in-directory header.
    There's not really any need for them to be in the tracing header.

    Signed-off-by: David Howells

    David Howells
     

27 Oct, 2020

2 commits


26 Oct, 2020

7 commits


25 Oct, 2020

3 commits


24 Oct, 2020

4 commits

  • …nux-block") into android-mainline

    Steps on the way to 5.10-rc1

    Resolves conflicts in:
    include/linux/blk-crypto.h

    Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
    Change-Id: I4012850c2e4b804d9e87e90b8e03a3b9ce21b5e7

    Greg Kroah-Hartman
     
  • Bisection on the way to 5.10-rc1

    Signed-off-by: Greg Kroah-Hartman
    Change-Id: I3f67860c970bea3019c374ba34e051ca78282a92

    Greg Kroah-Hartman
     
  • Bisection on the way to 5.10-rc1

    Change-Id: I601c029848bafea95f6a40682264ca5ce76c8b8d
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Pull KVM updates from Paolo Bonzini:
    "For x86, there is a new alternative and (in the future) more scalable
    implementation of extended page tables that does not need a reverse
    map from guest physical addresses to host physical addresses.

    For now it is disabled by default because it is still lacking a few of
    the existing MMU's bells and whistles. However it is a very solid
    piece of work and it is already available for people to hammer on it.

    Other updates:

    ARM:
    - New page table code for both hypervisor and guest stage-2
    - Introduction of a new EL2-private host context
    - Allow EL2 to have its own private per-CPU variables
    - Support of PMU event filtering
    - Complete rework of the Spectre mitigation

    PPC:
    - Fix for running nested guests with in-kernel IRQ chip
    - Fix race condition causing occasional host hard lockup
    - Minor cleanups and bugfixes

    x86:
    - allow trapping unknown MSRs to userspace
    - allow userspace to force #GP on specific MSRs
    - INVPCID support on AMD
    - nested AMD cleanup, on demand allocation of nested SVM state
    - hide PV MSRs and hypercalls for features not enabled in CPUID
    - new test for MSR_IA32_TSC writes from host and guest
    - cleanups: MMU, CPUID, shared MSRs
    - LAPIC latency optimizations ad bugfixes"

    * tag 'for-linus' of git://git.kernel.org/pub/scm/virt/kvm/kvm: (232 commits)
    kvm: x86/mmu: NX largepage recovery for TDP MMU
    kvm: x86/mmu: Don't clear write flooding count for direct roots
    kvm: x86/mmu: Support MMIO in the TDP MMU
    kvm: x86/mmu: Support write protection for nesting in tdp MMU
    kvm: x86/mmu: Support disabling dirty logging for the tdp MMU
    kvm: x86/mmu: Support dirty logging for the TDP MMU
    kvm: x86/mmu: Support changed pte notifier in tdp MMU
    kvm: x86/mmu: Add access tracking for tdp_mmu
    kvm: x86/mmu: Support invalidate range MMU notifier for TDP MMU
    kvm: x86/mmu: Allocate struct kvm_mmu_pages for all pages in TDP MMU
    kvm: x86/mmu: Add TDP MMU PF handler
    kvm: x86/mmu: Remove disallowed_hugepage_adjust shadow_walk_iterator arg
    kvm: x86/mmu: Support zapping SPTEs in the TDP MMU
    KVM: Cache as_id in kvm_memory_slot
    kvm: x86/mmu: Add functions to handle changed TDP SPTEs
    kvm: x86/mmu: Allocate and free TDP MMU roots
    kvm: x86/mmu: Init / Uninit the TDP MMU
    kvm: x86/mmu: Introduce tdp_iter
    KVM: mmu: extract spte.h and spte.c
    KVM: mmu: Separate updating a PTE from kvm_set_pte_rmapp
    ...

    Linus Torvalds
     

23 Oct, 2020

2 commits