<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">Hi All, </font></p>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">During mm performance testing sometimes I observed below kernel messages</font></p>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">[ 80.776000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to delete nr=-2133936901<br>[ 80.784000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to delete nr=-2139256767<br>
[ 80.796000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to delete nr=-2079333971<br>[ 80.804000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to delete nr=-2096156269<br>[ 80.812000] shrink_slab: ashmem_shrink+0x0/0x114 negative objects to delete nr=-20658392 </font></p>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri"> After debugging is I fount these prints from mm/vmscan.c </font></p>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">Kernel Error msg point </font></div>
<p style="TEXT-INDENT:0.5in;MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"> unsigned long total_scan;</font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span><span style> </span>unsigned long max_pass;</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span><span style> </span>max_pass = do_shrinker_shrink(shrinker, shrink, 0);</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>delta = (4 * nr_pages_scanned) / shrinker->seeks;</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>delta *= max_pass;</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>do_div(delta, lru_pages + 1);</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>shrinker->nr += delta;</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span><span style> </span>if (shrinker->nr < 0) {</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>printk(KERN_ERR "shrink_slab: %pF negative objects to "</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>"delete nr=%ld\n",</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>shrinker->shrink, shrinker->nr);</font></font></p>
<p style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>shrinker->nr = max_pass;</font></font></p>
<div style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style> </span>}</font></font></div>
<div style="MARGIN:0in 0in 0pt" class="MsoNormal"><font size="3" face="Calibri"></font> </div>
<p style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri"><span style></span></font></font> </p>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3"><font face="Calibri">I found one patch <span style> </span></font></font><a href="http://lkml.org/lkml/2011/8/22/80"><font size="3" face="Calibri">http://lkml.org/lkml/2011/8/22/80</font></a><font size="3" face="Calibri"> <span style> </span>for this fix <br>
</font></div>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">Please let me know reason why I am getting above error and above is really fix for this problem. <span style> </span>?</font></div>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font face="Calibri"><font size="3">I am working on </font><span style="LINE-HEIGHT:115%;FONT-SIZE:10pt">ARM cortex A9 </span><font size="3"> linux-3.0.20 kernel. </font></font></div>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri"></font> </div>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">Thanks, </font></div>
<div style="MARGIN:0in 0in 10pt" class="MsoNormal"><font size="3" face="Calibri">John</font></div>
<p> </p>