[PATCH RFC 2/2] percpu_ida: Use for_each_tlm() macro for CPU lookup in steal_tags()

2014-03-26 Thread Alexander Gordeev
Function steal_tags() iterates thru 'cpus_have_tags' cpumask ignoring the system's CPU topology. That leads to situations when a newly stolen tag and the data structure(s) associated with it (i.e. struct request in the block layer) topology- wise are more remote from the stealing CPU than it could

[PATCH RFC 2/2] percpu_ida: Use for_each_tlm() macro for CPU lookup in steal_tags()

2014-03-26 Thread Alexander Gordeev
Function steal_tags() iterates thru 'cpus_have_tags' cpumask ignoring the system's CPU topology. That leads to situations when a newly stolen tag and the data structure(s) associated with it (i.e. struct request in the block layer) topology- wise are more remote from the stealing CPU than it could