commit | 39be350127ec60a078edffe5b4915dafba4ba514 | [log] [tgz] |
---|---|---|
author | Peter Zijlstra <a.p.zijlstra@chello.nl> | Thu Jan 26 12:44:34 2012 +0100 |
committer | Ingo Molnar <mingo@elte.hu> | Fri Jan 27 13:28:48 2012 +0100 |
tree | 9b1ad6ee75c3b5842434b697b96ccdfbe1a40a2f | |
parent | cb297a3e433dbdcf7ad81e0564e7b804c941ff0d [diff] |
sched, block: Unify cache detection The block layer has some code trying to determine if two CPUs share a cache, the scheduler has a similar function. Expose the function used by the scheduler and make the block layer use it, thereby removing the block layers usage of CONFIG_SCHED* and topology bits. Signed-off-by: Peter Zijlstra <a.p.zijlstra@chello.nl> Acked-by: Jens Axboe <axboe@kernel.dk> Link: http://lkml.kernel.org/r/1327579450.2446.95.camel@twins