Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • I ipipe
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Activity
  • Graph
  • Commits
Collapse sidebar
  • xenomai
  • ipipe
  • Repository

Switch branch/tag
  • ipipe
  • arch
  • sh
  • mm
  • init.c
Find file BlameHistoryPermalink
  • Paul Mundt's avatar
    sh: Handle fixmap TLB eviction more coherently. · acca4f4d
    Paul Mundt authored Nov 10, 2008
    
    
    There was a race in the kmap_coherent() implementation. While we
    guarded against preemption, there was nothing preventing eviction of
    the pre-faulted fixmap entry from the UTLB. Under certain workloads
    this would result in the fixmap entries used for cache colouring being
    evicted from the UTLB in the midst of a copy_page().
    
    In addition to pre-faulting, we also make sure to preserve the PTEs
    in the kernel page table and introduce a cached PTE for kmap_coherent()
    usage. This follows a similar change on MIPS ("[MIPS] Fix aliasing bug
    in copy_to_user_page / copy_from_user_page").
    Reported-by: default avatarHideo Saito <saito@densan.co.jp>
    Reported-by: default avatarCHIKAMA Masaki <masaki.chikama@gmail.com>
    Tested-by: default avatarYoshihiro Shimoda <shimoda.yoshihiro@renesas.com>
    Signed-off-by: default avatarPaul Mundt <lethal@linux-sh.org>
    acca4f4d

Replace init.c

Attach a file by drag & drop or click to upload


Cancel
GitLab will create a branch in your fork and start a merge request.

Imprint & Privacy Policy