Messages in this thread | | | Date | Fri, 25 Jun 2010 11:00:25 -0500 (CDT) | From | Christoph Lameter <> | Subject | Re: [PATCH 2/5] cpumask: make task_struct.cpus_allowed a cpumask_var_t |
| |
On Fri, 25 Jun 2010, Rusty Russell wrote:
> Even better would be to point to the fixed "one cpu" and "all cpus" > masks where possible, and make a copy when setting it to something > else. But you'd have to track down those naughty places which frob it > directly...
Put it into a read only segment?
What is the estimated performance impact of adding a level of indirection (and a potential cache miss) to a number of critical code paths?
| |