[lkml]   [2011]   [Apr]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH v2] cpusets: randomize node rotor used in cpuset_mem_spread_node()
On Fri, 15 Apr 2011, Michal Hocko wrote:

> You are right. I was thinking about lazy approach and initialize those
> values when they are used for the first time. What about the patch
> below?
> Change from v1:
> - initialize cpuset_{mem,slab}_spread_rotor lazily

The difference between this v2 patch and what is already in the -mm tree
is the lazy initialization by adding cpuset_{mem,slab}_spread_node()?

It'd probably be better to just make an incremental patch on top of
mmotm-2011-04-14-15-08 with a new changelog and then propose with with
your list of reviewed-by lines.

Andrew could easily drop the earlier version and merge this v2, but I'm
asking for selfish reasons: please use NUMA_NO_NODE instead of -1.


 \ /
  Last update: 2011-04-16 01:45    [W:0.060 / U:5.476 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site