Kernelnewbies Digest, Vol 87, Issue 23
yash omer
yashomer0007 at gmail.com
Mon Feb 12 12:29:53 EST 2018
ok, Thank You
On Mon, Feb 12, 2018 at 10:30 PM, <kernelnewbies-request at kernelnewbies.org>
wrote:
> Send Kernelnewbies mailing list submissions to
> kernelnewbies at kernelnewbies.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> or, via email, send a message with subject or body 'help' to
> kernelnewbies-request at kernelnewbies.org
>
> You can reach the person managing the list at
> kernelnewbies-owner at kernelnewbies.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Kernelnewbies digest..."
>
>
> Today's Topics:
>
> 1. Re: Query on mechanisms to communicate between kernel modules
> in Linux (Tobin C. Harding)
> 2. Re: newbie (Ruben Safir)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 12 Feb 2018 11:25:05 +1100
> From: "Tobin C. Harding" <me at tobin.cc>
> To: Neil Thomas <neilkt27 at gmail.com>
> Cc: Greg KH <greg at kroah.com>, valdis.kletnieks at vt.edu, Pintu Kumar
> <pintu.ping at gmail.com>, kernelnewbies at kernelnewbies.org
> Subject: Re: Query on mechanisms to communicate between kernel modules
> in Linux
> Message-ID: <20180212002505.GA16552 at eros>
> Content-Type: text/plain; charset=us-ascii
>
> On Sat, Feb 10, 2018 at 10:30:36PM +0530, Neil Thomas wrote:
> > Thanks a lot. I will try out this.
>
> Please don't top post. It upsets people.
>
> Good luck,
> Tobin.
>
> > On 10-Feb-2018 2:08 PM, "Pintu Kumar" <pintu.ping at gmail.com> wrote:
> >
> > > On Fri, Feb 9, 2018 at 12:52 AM, Neil Thomas <neilkt27 at gmail.com>
> wrote:
> > > > Thanks, I will check it out.
> > > >
> > > > On 09-Feb-2018 12:50 AM, <valdis.kletnieks at vt.edu> wrote:
> > > >>
> > > >> On Thu, 08 Feb 2018 23:38:01 +0530, Neil Thomas said:
> > > >>
> > > >> > I am just a beginner. I have tried procfs, Netlink socket to
> > > communicate
> > > >> > between user space and kernel space and it works fine.
> > > >> >
> > > >> > I am developing a monitoring utility to trace the VFS operation
> and
> > > find
> > > >> > the frequency of VFS function calls. This monitoring utility runs
> in
> > > >> > kernel
> > > >> > space. We have to record the occurrence of each VFS function
> calls
> > > >> > (like
> > > >> > vfs_open(), vfs_read()). I don't know which is best mechanism to
> > > >> > report
> > > >> > this VFS event to the monitoring utility.
> > > >> >
> > > >> > Could anyone please suggest the best mechanism to transfer data
> > > >> > frequently
> > > >> > between kernel modules.
> > >
> > > You can also use ION (CONFIG_ION) or DMABUF (DMA_SHARED_BUFFER) buffer
> > > sharing mechanism to share data between 2 drivers.
> > > Check this:
> > > https://www.kernel.org/doc/html/latest/driver-api/dma-buf.html
> > > https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
> > > linux.git/tree/drivers/staging/android/ion?h=v4.15
> > >
> > > >>
> > > >> There's a perfectly good perf-based function trace facility that
> will
> > > >> provide
> > > >> this info to userspace.
> > > >>
> > > >> http://www.brendangregg.com/perf.html#StaticKernelTracing
> > > >>
> > > >
> > > > _______________________________________________
> > > > Kernelnewbies mailing list
> > > > Kernelnewbies at kernelnewbies.org
> > > > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
> > > >
> > >
>
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
>
>
> ------------------------------
>
> Message: 2
> Date: Mon, 12 Feb 2018 11:59:52 -0500
> From: Ruben Safir <ruben at mrbrklyn.com>
> To: yash omer <yashomer0007 at gmail.com>
> Cc: kernelnewbies at kernelnewbies.org
> Subject: Re: newbie
> Message-ID: <20180212165952.GA27328 at www2.mrbrklyn.com>
> Content-Type: text/plain; charset=us-ascii
>
> use mutt
>
>
> On Fri, Feb 09, 2018 at 11:01:52PM +0530, yash omer wrote:
> > Hello,
> > Please guide me how to follow with mailing list
>
> > _______________________________________________
> > Kernelnewbies mailing list
> > Kernelnewbies at kernelnewbies.org
> > https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> --
> So many immigrant groups have swept through our town
> that Brooklyn, like Atlantis, reaches mythological
> proportions in the mind of the world - RI Safir 1998
> http://www.mrbrklyn.com
>
> DRM is THEFT - We are the STAKEHOLDERS - RI Safir 2002
> http://www.nylxs.com - Leadership Development in Free Software
> http://www2.mrbrklyn.com/resources - Unpublished Archive
> http://www.coinhangout.com - coins!
> http://www.brooklyn-living.com
>
> Being so tracked is for FARM ANIMALS and and extermination camps,
> ut incompatible with living as a free human being. -RI Safir 2013
> 1
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies at kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies
>
>
> ------------------------------
>
> End of Kernelnewbies Digest, Vol 87, Issue 23
> *********************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20180212/b6f9f496/attachment.html>
More information about the Kernelnewbies
mailing list