Bug 5859
Summary: | cpusets: BUG: cpuset_excl_nodes_overlap() may sleep under tasklist_lock | ||
---|---|---|---|
Product: | Other | Reporter: | Darrick J. Wong (djwong) |
Component: | Other | Assignee: | Paul Jackson (pj) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | bunk, djwong |
Priority: | P2 | ||
Hardware: | i386 | ||
OS: | Linux | ||
Kernel Version: | 2.6.15 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Darrick J. Wong
2006-01-09 14:51:26 UTC
This has already been reported to LKML: http://marc.theaimsgroup.com/?l=linux-kernel&m=113577406107958&w=2 Paul, can you look into at this issue? The report makes sense. I am back from vacation now, and should be able to provide a fix later this week. I'll need to rework the semantics a little, and pull the evaluation of the enclosing cpuset outside the oom tasklist loop. A workaround, that could result in killing a task in a non-overlapping cpuset, would be to stub out the cpuset_excl_nodes_overlap() call. Thanks for reporting this. Paul, what is the status of this issue? The fix for this went into Linus's tree in the following change: date: Sun Jan 15 10:27:10 2006 +0800 summary: [PATCH] cpuset oom lock fix Grep for 'cpuset_lock' in the kernel file mm/oom_kill.c to see the fix. Thanks for the reminder to update the status of this bug - I should have closed this bug in January. |