[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-devel] Question about making system thread like kthread in Linux kernel

On Tue, Dec 11, 2018 at 01:17:06PM +0000, Wei Liu wrote:
> On Tue, Dec 11, 2018 at 09:40:35PM +0900, Minjun Hong wrote:
> > Hi. While I review the result of my research, suddenly a good idea comes
> > up, and I am looking for how to make threads in Xen like kthread in Linux
> > kernel.
> > 
> > However, after googling and searching for the source code by grep, I have
> > found only some information regarding stub domain and daemons, such as
> > xenconsoled and xenbus.
> > 
> > I want a simple thread in Xen to offload some works which is being executed
> > in the Credit scheduler.
> > 
> > Is there any data structure or API for that purpose in the Xen source code ?
> There is no concept of threads in Xen.  You may be able to offload work
> to a softirq.

And there is also tasklet in Xen. Forgot to mention that in my previous


Xen-devel mailing list



Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.