Need to apply patch: "ARM: Do not call flush_cache_user_range with mmap_sem held"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux (Ubuntu) |
Fix Released
|
Undecided
|
Andy Whitcroft | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Andy Whitcroft | ||
linux-ac100 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
linux-linaro-lt-mx5 (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Oneiric |
Won't Fix
|
Undecided
|
Unassigned | ||
Precise |
Won't Fix
|
Undecided
|
Unassigned | ||
linux-ti-omap4 (Ubuntu) |
Fix Released
|
Undecided
|
Andy Whitcroft | ||
Natty |
Won't Fix
|
Undecided
|
Unassigned | ||
Oneiric |
Fix Released
|
Undecided
|
Unassigned | ||
Precise |
Fix Released
|
Undecided
|
Andy Whitcroft |
Bug Description
There's a well-known bug on ARM that if you have an SMP system, you can hang a process by doing a cache flush syscall at the same time as a page fault. It's a known issue, with a patch posted that unfortunately breaks pre-ARMv6 systems so it has not yet been applied.
Many other projects, such as Android and Chrome OS, have applied this locally in their tree. The patch is good and valid for ARMv6 and v7 systems since they have the appropriate exception handling tables in the page flush code. Until that's added to v5 and before though, the patch can't be upstreamed.
Please pick this up for Ubuntu on the v7 platforms, Panda in particular. I have a user here that can very reliably hit this when running a specific workload, and I would prefer if he could keep running a distro kernel instead of a locally built one.
Patch is at:
http://
Note that the discussion went in a tangent -- the patch is valid for v6 and v7, and some of the misunderstanding in the discussion was because of this.
Thanks!
-Olof
no longer affects: | linux-ac100 (Ubuntu Natty) |
no longer affects: | linux-linaro-lt-mx5 (Ubuntu Natty) |
tags: | added: bot-quit-nagging |
Changed in linux (Ubuntu Precise): | |
assignee: | nobody → Andy Whitcroft (apw) |
status: | Confirmed → In Progress |
Changed in linux-ti-omap4 (Ubuntu Natty): | |
status: | New → Won't Fix |
Changed in linux (Ubuntu): | |
status: | In Progress → Fix Released |
Changed in linux-ti-omap4 (Ubuntu): | |
status: | In Progress → Fix Released |
I'm told via IRC that this is theoretically triggerable (though less frequently) on UP systems, so adding tasks for omap and mx5 kernels as well.