>>> On Thu, Jul 17, 2008 at 3:16 AM, in message <487EF1E9.2040101@qualcomm.com>, Max Krasnyansky <maxk@qualcomm.com> wrote:Hi Max, Thanks for the pointers. I see that I did indeed misunderstand the intent of the patch. It seems you already solved the rebuild problem, and were just trying to solve the "migrate to a dead cpu" problem that Linus mentions as a solution with cpu_active_map. In that case, note that rq->rd->online already fits the bill, I believe. In a nutshell, rq->rd->span contains all the cpus within your disjoint cpuset, and rq->rd->online, contains the subset of rq->rd->span that are online. The online bit is cleared at the earliest point in cpu hotplug removal (DYING), and it is set at the very latest point on insertion (ONLINE). Therefore it is redundant with the cpus_active_map concept. I think the simplest solution is to make sure that we cpus_and against rq->rd->online before allowing a migration. This is how I intended the mask to be used, anyway. Its what the RT scheduler does. It sounds like we just need to touch up the few places in the CFS side that were causing those oops. Thoughts? -Greg --
| Greg KH | [GIT PATCH] driver core patches against 2.6.24 |
| Tarkan Erimer | Re: Dual-Licensing Linux Kernel with GPL V2 and GPL V3 |
| Bart Van Assche | Integration of SCST in the mainstream Linux kernel |
| Jeff Garzik | Re: fallocate-implementation-on-i86-x86_64-and-powerpc.patch |
git: | |
| David Miller | Re: [PATCH] pkt_sched: Destroy gen estimators under rtnl_lock(). |
| Arjan van de Ven | Re: [GIT]: Networking |
| Gerrit Renker | [PATCH 15/37] dccp: Set per-connection CCIDs via socket options |
| Natalie Protasevich | [BUG] New Kernel Bugs |
