the cost of EXPORT_SYMBOL_GPL

Tomek The Messenger tomekthemessenger at gmail.com
Wed Jun 17 06:39:08 EDT 2020


OK, I will ask if it is possible to share the code.

Thanks
BR
Tomek

On Wed, Jun 17, 2020 at 11:41 AM Greg KH <greg at kroah.com> wrote:

> On Wed, Jun 17, 2020 at 11:17:28AM +0200, Tomek The Messenger wrote:
> > OK, so I had to wrongly described something because in my company this is
> > popular approach to use /sys as some abstract layer to get access to
> > registers.
>
> Please do not do that.  There are valid kernel apis to grant access to
> registers easily, and creating random files and directories in the root
> of sysfs is not only the incorrect way of doing it, you are making more
> work for yourself to do so, adding more code that is not needed.
>
> Do you have a pointer to the code so that we can provide help with
> showing the "correct" way to do all of this?
>
> thanks,
>
> greg k-h
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.kernelnewbies.org/pipermail/kernelnewbies/attachments/20200617/d82c026f/attachment.html>


More information about the Kernelnewbies mailing list