<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Mar 23, 2016 at 5:36 PM, shubham k <span dir="ltr">&lt;<a href="mailto:skaushal.lk@gmail.com" target="_blank">skaushal.lk@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div>Hi,<br><br></div><div>I a novice &amp; want to contribute to linux community. I have basic knowledge of kernel.<br><br></div><div>Problem statement:<br></div><div>I want to work on x86 architecture. I am not sure how to go about unit testing. I can use qemu for testing but i find kernel on x86 architecture too big to compile. How i can get the smaller size kernel on x86 architecture? Please help me setting up testing environment so that i can test my changes properly &amp; quickly.<br></div><div><br></div>thanks,<br></div>Shubham<br></div>
<br>_______________________________________________<br>
Kernelnewbies mailing list<br>
<a href="mailto:Kernelnewbies@kernelnewbies.org">Kernelnewbies@kernelnewbies.org</a><br>
<a href="http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies" rel="noreferrer" target="_blank">http://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies</a><br>
<br></blockquote></div><br></div><div class="gmail_extra">If you want smaller kernel size, just avoid compiling modules or kernel component that you don&#39;t need. Things like unneccessary device support, protocol support are something you can begin with.<br><br></div><div class="gmail_extra">Also, once you do:<br></div><div class="gmail_extra">make<br><br></div><div class="gmail_extra">then if later you did modification on certain .c files, then next invocation of &quot;make&quot; will only recompile the changed .c files. if you need further speed, use ccache.<br><br></div><div class="gmail_extra"><br clear="all"></div><div class="gmail_extra"><br>-- <br><div class="gmail_signature">regards,<br><br>Mulyadi Santosa<br>Freelance Linux trainer and consultant<br><br>blog: <a href="http://the-hydra.blogspot.com" target="_blank">the-hydra.blogspot.com</a><br>training: <a href="http://mulyaditraining.blogspot.com" target="_blank">mulyaditraining.blogspot.com</a></div>
</div></div><div id="DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2"><br>
<table style="border-top:1px solid #aaabb6">
        <tr>
                <td style="width:470px;padding-top:20px;color:#41424e;font-size:13px;font-family:Arial,Helvetica,sans-serif;line-height:18px">This email has been sent from a virus-free computer protected by Avast. <br><a href="https://www.avast.com/sig-email?utm_medium=email&amp;utm_source=link&amp;utm_campaign=sig-email&amp;utm_content=webmail" target="_blank" style="color:#4453ea">www.avast.com</a>
                </td>
        </tr>
</table><a href="#DDB4FAA8-2DD7-40BB-A1B8-4E2AA1F9FDF2" width="1" height="1"></a></div>