Kernel Newbies archive on lore.kernel.org
 help / color / Atom feed
From: Martin Galvan <omgalvan.86@gmail.com>
To: Greg KH <greg@kroah.com>
Cc: Bharath Vedartham <linux.bhar@gmail.com>,
	kernelnewbies@kernelnewbies.org
Subject: Re: Setting CPU affinity for current process on kernel module?
Date: Fri, 13 Sep 2019 09:56:24 -0300
Message-ID: <CAN19L9GsAtCLU2YJe509rdtVRMqu6kw=+E5=JGW8e5tJSV+Lxg@mail.gmail.com> (raw)
In-Reply-To: <20190913125510.GA402888@kroah.com>

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.

In any case, thanks for the help, this seems to be working just fine.

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

  reply index

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-11 18:52 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 [this message]
2019-09-13 14:13                 ` Greg KH

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='CAN19L9GsAtCLU2YJe509rdtVRMqu6kw=+E5=JGW8e5tJSV+Lxg@mail.gmail.com' \
    --to=omgalvan.86@gmail.com \
    --cc=greg@kroah.com \
    --cc=kernelnewbies@kernelnewbies.org \
    --cc=linux.bhar@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

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


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