Skip to content
Permalink
Branch: 9.0.0-sultan
Commits on Jun 12, 2019
  1. wahoo_defconfig: Re-enable SELinux development support

    kerneltoast committed Jun 12, 2019
    SELinux needs to be set to permissive at runtime in order to make diag
    work.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  2. binder: Reserve caches for small, high-frequency memory allocations

    kerneltoast committed Jun 12, 2019
    Most of binder's memory allocations are tiny, and they're allocated
    and freed extremely frequently. The latency from going through the page
    allocator all the time for such small allocations ends up being quite
    high, especially when the system is low on memory. Binder is
    performance-critical, so this is suboptimal.
    
    Instead of using kzalloc to allocate a struct every time, reserve caches
    specifically for allocating each struct quickly.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Commits on Jun 11, 2019
  1. staging: android: ashmem: Get rid of the big mutex lock

    kerneltoast committed Jun 11, 2019
    Ashmem uses a single big mutex lock for all synchronization, and even
    uses it when no synchronization issues are present. The contention from
    using a single lock results in all-around poor performance.
    
    Use fine-grained locks and atomic constructions to eliminate the big
    mutex lock, thereby improving performance greatly.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Commits on Jun 7, 2019
  1. ion: Overhaul egregious lock usage

    kerneltoast committed Jun 7, 2019
    There are numerous code paths in ION that hold mutexes for no reason and
    hold them for longer than necessary. This results in not only unwanted
    lock contention, but also long delays when a mutex lock results in the
    calling thread getting preempted for a while. All lock usage in ION
    follows this pattern, which causes poor performance across the board.
    
    Furthermore, a single big lock is used mostly everywhere rather than
    multiple fine-grained locks.
    
    Most of the mutex locks can be replaced with simple atomic operations.
    Where a mutex lock can't be eliminated completely, a spinlock or rwlock
    can be used instead for quick operations, thereby avoiding long delays
    due to preemption. Additionally, fine-grained locks are now used in
    place of the single big lock that was used before. These optimizations
    improve ION's performance greatly.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
Commits on Jun 6, 2019
  1. Revert "cpufreq: Force low-power cluster to always use performance go…

    kerneltoast committed Jun 6, 2019
    …vernor"
    
    I guess this did hurt battery life somewhat.
    
    This reverts commit 0c177d1.
Commits on Jun 3, 2019
  1. Merge tag 'android-9.0.0_r0.92' into 9.0.0-sultan

    kerneltoast committed Jun 3, 2019
    Android 9.0.0 Release 0.92
Commits on Jun 2, 2019
  1. ASoC: Silence platform not registered message

    kerneltoast committed Jun 2, 2019
    This log spam on boot is killing dmesg. Silence it.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  2. cpufreq: Force low-power cluster to always use performance governor

    kerneltoast committed Jun 2, 2019
    The low-power cluster currently has two frequencies available: 1824 MHz
    and 1900 MHz. The overhead from running schedutil is worse than the
    difference in efficiency between these two frequencies, so just pin
    the low-power cluster to 1900 MHz with the performance governor.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
  3. iommu: msm: Fix race due to mapping and unmapping simultaneously

    kerneltoast committed Jun 2, 2019
    A map can occur at the same time as an unmap, which can cause both the
    map and unmap to fail in horrendous ways. Guard against this race by not
    allowing mapping and unmapping for the same iommu meta to occur
    simultaneously.
    
    Signed-off-by: Sultan Alsawaf <sultan@kerneltoast.com>
You can’t perform that action at this time.