<div dir="ltr"><font color="#500050" face="arial, sans-serif">Hi all:</font><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> Can anybody help me to understand the usage of 'shared_cpu_map' in</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">/sys/devices/system/cpu/cpuX/</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">cache/indexX/.</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> </span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">when I execute the cmd--'#cat shared_cpu_map', it retures '05'.</span><div>
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> And my computer use Ubuntu12.04,Intel core i3 CPU.</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> I have read one email in LKML,it says:</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">"The patch also adds a bunch of interfaces under</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">/sys/devices/system/cpu/cpuX/</span><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">cache, showing various information about the</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">caches. Most useful field being shared_cpu_map, which says what caches are</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">shared among which logical cpus. "</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> But I still cannot catch the meaning of 'which says what caches</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">
<span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px">are shared among which logical cpus'.</span><br style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"><span style="color:rgb(80,0,80);font-family:arial,sans-serif;font-size:13px"> Thanks. </span> <br>
-- <br><div dir="ltr">Sincerely,<div>Ren Zhen</div></div>
</div></div>