kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: "R. Engür Pişirici" <engur@bilkent.edu.tr>
To: Martin Galvan <omgalvan.86@gmail.com>
Cc: kernelnewbies@kernelnewbies.org
Subject: Re: Setting CPU affinity for current process on kernel module?
Date: Thu, 19 Sep 2019 08:43:10 +0300	[thread overview]
Message-ID: <479f06c77f9173bda5296b32eef2667d@bilkent.edu.tr> (raw)
In-Reply-To: <20190913141332.GA453533@kroah.com>

I'm sure that some of us(readers of the kernelNewbies e-mail list) 
really wants to understand the same thing Greg was asking.
Best Regards,

-engur



On 2019-09-13 17:13, Greg KH wrote:
> On Fri, Sep 13, 2019 at 09:56:24AM -0300, Martin Galvan wrote:
>> El vie., 13 sept. 2019 a las 9:55, Greg KH (<greg@kroah.com>) 
>> escribió:
>> > And doing what with that information?  We have a msr driver for
>> > userspace access to those values, does that not work correctly for you?
>> 
>> My use case requires this to be done in kernel space.
> 
> So, again, I hate to ask but _why_ do you need access to the msr from
> within the kernel?  What useful information can you do with that?  Do
> you have a pointer to your code anywhere?
> 
> thanks,
> 
> greg k-h
> 
> _______________________________________________
> Kernelnewbies mailing list
> Kernelnewbies@kernelnewbies.org
> https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

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

      reply	other threads:[~2019-09-19  5:43 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 18:52 Setting CPU affinity for current process on kernel module? Martin Galvan
2019-09-11 19:16 ` Bharath Vedartham
2019-09-11 19:19   ` Martin Galvan
2019-09-12  9:26     ` Bharath Vedartham
2019-09-12 14:03       ` Martin Galvan
2019-09-13  4:50         ` Greg KH
2019-09-13 12:43           ` Martin Galvan
2019-09-13 12:55             ` Greg KH
2019-09-13 12:56               ` Martin Galvan
2019-09-13 14:13                 ` Greg KH
2019-09-19  5:43                   ` R. Engür Pişirici [this message]

Reply instructions:

You may reply publicly 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=479f06c77f9173bda5296b32eef2667d@bilkent.edu.tr \
    --to=engur@bilkent.edu.tr \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=omgalvan.86@gmail.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).