diff options
author | Prakash Surya <[email protected]> | 2012-08-23 14:00:58 -0700 |
---|---|---|
committer | Brian Behlendorf <[email protected]> | 2012-08-24 09:43:22 -0700 |
commit | 08850eddcb128cbdca584255324d71dfee2ccba9 (patch) | |
tree | 000c6cd4d1c90648a02593cca4d786146f6ceb59 /lib/Makefile.in | |
parent | 15d0411297113cb2681f5522ed373d4d37fcf132 (diff) |
Avoid calling smp_processor_id in spl_magazine_age
The spl_magazine_age function had the implied assumption that it will
remain on its current cpu through its execution. In order to support
preempt enabled kernels, this assumption had to be removed.
The spl_kmem_magazine structure now holds the cpu id of the cpu it is
local to. This allows spl_magazine_age to use this field when scheduling
work to be done by the magazine's local cpu.
Signed-off-by: Brian Behlendorf <[email protected]>
Issue #98
Diffstat (limited to 'lib/Makefile.in')
0 files changed, 0 insertions, 0 deletions