Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems_allowed after CPU/NODE offline/online

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: David Rientjes <rientjes@...>
Cc: <menage@...>, <miaox@...>, <akpm@...>, <linux-kernel@...>
Date: Wednesday, June 4, 2008 - 3:42 pm

David wrote:

Good point.

How about also adding this check (NULL mm and struct subset cpus)
to sched_setaffinity?

Granted, this pair of checks, in cpusets and sched_setaffinity,
is getting to be a little more work than the PF_* flag.

I guess one question would be how hard we want to work to avoid
consuming another PF_* flag.  I thought they were scarce, but I
might be wrong.

-- 
                  I won't rest till it's the best ...
                  Programmer, Linux Scalability
                  Paul Jackson <pj@sgi.com> 1.940.382.4214
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 2/2] cpusets: update tasks' cpus_allowed and mems..., Paul Jackson, (Wed Jun 4, 3:42 pm)