<div dir="ltr">I have a driver which I have ported from 2.6.18 kernel to 3.8 kernel. Now  <span style="font-family:arial,sans-serif;font-size:13px">the driver has become unstable when I ported it to 3.8 kernel.</span><div>
<span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">Since lot of things have changed from 2.6.18 to 3.8 and I have taken a lot of care to replace the old kernel APIs with the newer ones but then too there have been certain things I haven&#39;t been able to replace and dcache_lock is one of them. </font></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"> </span></div><div><span style="font-family:arial,sans-serif;font-size:13px">Due to the absence of </span><span style="font-family:arial,sans-serif">dcache_lock, I have not been able to </span><span style="font-family:arial,sans-serif;font-size:13px">properly lock stuff and writing/reading data that are being changed that maybe one of the reasons for instability.</span></div>
<div><span style="font-family:arial,sans-serif;font-size:13px"><br></span></div><div><font face="arial, sans-serif">I specifically list down the link to my kernel driver below where I haven&#39;t been able to do the same, below-</font></div>
<div><a href="https://github.com/HeisSpiter/hepunion/blob/master/fs/hepunion/helpers.c#L373">https://github.com/HeisSpiter/hepunion/blob/master/fs/hepunion/helpers.c#L373</a><span style="font-family:arial,sans-serif;font-size:13px"><br>
</span></div><div><br></div><div>If someone can suggest an alternative, I shall be grateful.</div><div><br></div><div>Regards,</div><div>Saket Sinha</div></div>