Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: "Irfan Ullah (울라 이르판)" <irfan@dke.khu.ac.kr>
To: "Valdis Klētnieks" <valdis.kletnieks@vt.edu>,
	kernelnewbies@kernelnewbies.org
Subject: Re: Kernel development tools (was Re: Software Prefetching using Machine learning)
Date: Thu, 10 Oct 2019 15:21:46 +0900
Message-ID: <CA+mB8OyM_cu1Owy9OukpVpZ1BU+heCiLSf0Rg60XTmUqMGRf2w@mail.gmail.com> (raw)
In-Reply-To: <206965.1570686660@turing-police>

[-- Attachment #1.1: Type: text/plain, Size: 2070 bytes --]

Thank you.
You are absolutely right. As a freshman in the kernel development, and
having experience in high level languages, things look complicated :(.
Can you please suggest me what is the efficient and easy way to exchange
data between kernel space and user space. I want the way in which the
kernel should initiate the communication; the kernel daemon first sends the
data to the user space daemon, and the user space daemon (waiting and
listening to the kernel space daemon) receives and processes the data, and
then sends feedback. There are many tools i.e., netlink
(connectionless, asynchronous), ioctl, and /proc available.
Which tool,  and library you suggest for performing the task? and How it
could be done?
I would be grateful if you could provide me with some links/examples/blogs.
Thanks again :).

On Thu, Oct 10, 2019 at 2:51 PM Valdis Klētnieks <valdis.kletnieks@vt.edu>
wrote:

> On Thu, 10 Oct 2019 11:48:11 +0900, Irfan Ullah said:
> > @All,* There is one thing I want to share, although it is not too
> relevant
> > but worth to share,*  that very limited number of
> *easy-to-use-&-understand*
> > tools and libraries available to welcome  and facilitate the
> > newbies/freshmen in the kernel development as compare to other
> development
> > environments.
>
> Well... for better or worse, the Linux kernel is an environment where
> programmers are expected to have a fairly good grasp on programming and
> software development already, and can figure most things out on their own.
>
> Having said that, if you have specific suggestions of tools and libraries
> that
> would make a difference, feel free to state what you think is missing -
> there's
> a good chance that it actually exists but you didn't know about it....
>
>

-- 
*Best Regards,*


*Mr. Irfan Ullah*
PhD Candidate
Data and Knowledge Engineering(DKE) Lab
Department of Computer Science and Engineering
Kyung Hee University, South Korea.
 +82-010-591-51651 <+82%2010-3877-8867>
  sahibzada.iu@gmail.com
 sahibzada_irfanullah

[-- Attachment #1.2: Type: text/html, Size: 4105 bytes --]

<div dir="ltr">Thank you. <div>You are absolutely right. As a freshman in the kernel development, and having experience in high level languages, things look complicated :(.<div>Can you please suggest me what is the efficient and easy way to exchange data between kernel space and user space. I want the way in which the kernel should initiate the communication; the kernel daemon first sends the data to the user space daemon, and the user space daemon (waiting and listening to the kernel space daemon) receives and processes the data, and then sends feedback. There are many tools i.e., netlink (connectionless, asynchronous), ioctl, and /proc available.</div><div>Which tool,  and library you suggest for performing the task? and How it could be done? </div><div>I would be grateful if you could provide me with some links/examples/blogs.</div></div><div>Thanks again :).</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Oct 10, 2019 at 2:51 PM Valdis Klētnieks &lt;<a href="mailto:valdis.kletnieks@vt.edu">valdis.kletnieks@vt.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On Thu, 10 Oct 2019 11:48:11 +0900, Irfan Ullah said:<br>
&gt; @All,* There is one thing I want to share, although it is not too relevant<br>
&gt; but worth to share,*  that very limited number of *easy-to-use-&amp;-understand*<br>
&gt; tools and libraries available to welcome  and facilitate the<br>
&gt; newbies/freshmen in the kernel development as compare to other development<br>
&gt; environments.<br>
<br>
Well... for better or worse, the Linux kernel is an environment where<br>
programmers are expected to have a fairly good grasp on programming and<br>
software development already, and can figure most things out on their own.<br>
<br>
Having said that, if you have specific suggestions of tools and libraries that<br>
would make a difference, feel free to state what you think is missing - there&#39;s<br>
a good chance that it actually exists but you didn&#39;t know about it....<br>
<br>
</blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr"><div><b style="color:rgb(39,78,19)">Best Regards,</b></div><div><b style="color:rgb(39,78,19)"><br></b></div><div><b style="color:rgb(39,78,19)"><br></b></div><div dir="ltr"><b style="color:rgb(39,78,19)">Mr. Irfan Ullah</b><br></div><div dir="ltr"><font color="#666666">PhD Candidate<br></font><div><font color="#666666">Data and Knowledge Engineering(DKE) Lab</font></div><div><font color="#666666">Department of Computer Science and Engineering</font></div><div><font color="#666666">Kyung Hee University, South Korea.</font></div><div><img src="http://teedayusa.com/media/wysiwyg/telephone_icon.gif" style="font-family: arial, sans-serif; font-size: 12.8px;"><span style="font-family:arial,sans-serif;font-size:12.8px"> </span><span style="font-family:arial,sans-serif;font-size:12.8px"><font color="#000000"><a href="tel:+82%2010-3877-8867" value="+821038778867" style="color:rgb(17,85,204)" target="_blank">+82-010-591-51651</a></font></span></div><div><div style="font-family:arial,sans-serif;font-size:12.8px"><img src="http://www.letsplaydodgeball.com/ndo/templates/dj-sport01/images/system/emailButton.png" style="font-size: 12.8px;"><span style="font-size:12.8px"><font color="#000000">  </font></span><span style="font-size:12.8px"><font color="#000000"><a href="mailto:sahibzada.iu@gmail.com" style="color:rgb(17,85,204)" target="_blank">sahibzada.iu@gmail.com</a></font></span></div><div><font face="arial, sans-serif"><span style="font-size:12.8px"><img src="https://docs.google.com/uc?export=download&amp;id=0B1-dY3m3XHQnOFBOM0NSODNoUUU&amp;revid=0B1-dY3m3XHQnUmp1c0ZWTGovR2pYbGZCenlOU29DY3ByQU5RPQ" style="font-size: 12.8px;"></span></font><span style="font-family:arial,sans-serif;font-size:12.8px"> </span><font face="arial, sans-serif"><span style="font-size:12.8px">sahibzada_irfanullah</span></font></div></div></div></div></div>

[-- Attachment #2: Type: text/plain, Size: 170 bytes --]

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

  reply index

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-09  3:37 Software Prefetching using Machine learning Irfan Ullah (울라 이르판)
2019-10-09  7:44 ` Greg KH
2019-10-09 19:08 ` Valdis Klētnieks
2019-10-10  0:21   ` Ruben Safir
2019-10-10  0:24   ` Ruben Safir
2019-10-10  2:10     ` Irfan Ullah (울라 이르판)
2019-10-10  2:48       ` Irfan Ullah (울라 이르판)
2019-10-10  5:43         ` Valdis Klētnieks
2019-10-10  5:51         ` Kernel development tools (was Re: Software Prefetching using Machine learning) Valdis Klētnieks
2019-10-10  6:21           ` Irfan Ullah (울라 이르판) [this message]
2019-10-10  6:40             ` Greg KH
2019-10-10 13:22       ` Software Prefetching using Machine learning Rik van Riel

Reply instructions:

You may reply publically to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CA+mB8OyM_cu1Owy9OukpVpZ1BU+heCiLSf0Rg60XTmUqMGRf2w@mail.gmail.com \
    --to=irfan@dke.khu.ac.kr \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=valdis.kletnieks@vt.edu \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

Kernel Newbies archive on lore.kernel.org

Archives are clonable:
	git clone --mirror https://lore.kernel.org/kernelnewbies/0 kernelnewbies/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 kernelnewbies kernelnewbies/ https://lore.kernel.org/kernelnewbies \
		kernelnewbies@kernelnewbies.org kernelnewbies@archiver.kernel.org
	public-inbox-index kernelnewbies

Example config snippet for mirrors

Newsgroup available over NNTP:
	nntp://nntp.lore.kernel.org/org.kernelnewbies.kernelnewbies


AGPL code for this site: git clone https://public-inbox.org/ public-inbox