<div dir="ltr"><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Hi,</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">It is interesting. I have the same problem.</div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br></div><div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Thank you,</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, May 14, 2016 at 11:16 AM, Youcun Liu <span dir="ltr"><<a href="mailto:liuyoucun1993@gmail.com" target="_blank">liuyoucun1993@gmail.com</a>></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>Dear all,</div><div><br></div><div>I am now working on building my own linux kernel and I want to add a new attribute into the process control block. Then I will feed some data to the new attribute from a user application. Finally I want to use the date to improve the some original kernel algorithm(e.g process schduling).</div><div><br></div><div>I tried to initialize the new attribute directly in the 'task_struct', obviously, it failed. So I decide to initialize the new attribute at the very beginning, but I do not know how. Besides, I have trouble in finding out which function can help me feed data to the new attribute.</div><div><br></div><div>Could you please give me some suggestions and help? Thanks a lot.</div><div><br></div><div>Best regards,</div><div>Youcun Liu</div></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>