Announcement

Collapse
No announcement yet.

Linux 6.5 Workqueues Add Automatic CPU-Intensive Detection & Monitoring

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • coder
    replied
    Originally posted by Alpha64 View Post
    As this should make clear, Workqueues are kernel-level constructs that run kernelspace code.
    Ah, okay.

    Rats. I've long thought we needed something like that for userspace. It seems to me that the approach of forcing userspace code to spin up its own worker threads is archaic, tedious, and doesn't scale well.

    Leave a comment:


  • Alpha64
    replied
    Originally posted by coder View Post
    What do they mean by "work items" ? Is this just another name for threads/LWPs? Or something else?
    A work item is basically a pointer to a function that is being run by a workqueue. You can find more information about work items and Workqueues here:



    (Note: This link should include the changes this patch introduced)

    As noted in that link:

    A work item is a simple struct that holds a pointer to the function
    that is to be executed asynchronously. Whenever a driver or subsystem
    wants a function to be executed asynchronously it has to set up a work
    item pointing to that function and queue that work item on a
    workqueue.
    As this should make clear, Workqueues are kernel-level constructs that run kernelspace code.

    Leave a comment:


  • coder
    replied
    What do they mean by "work items" ? Is this just another name for threads/LWPs? Or something else?

    Leave a comment:


  • mathieu.cossette
    replied
    Keep them coming ! News like this one is awesome for acquiring new users of Linux distributions .

    Leave a comment:


  • tildearrow
    replied
    Typo in first line
    Typo in second line as well :>

    Leave a comment:


  • Linux 6.5 Workqueues Add Automatic CPU-Intensive Detection & Monitoring

    Phoronix: Linux 6.5 Workqueues Add Automatic CPU-Intensive Detection & Monitoring

    Tejun Heo ;ast week submitted the workqueue changes for the Linux 6.5 kernel and they include an interesting addition...

    Phoronix, Linux Hardware Reviews, Linux hardware benchmarks, Linux server benchmarks, Linux benchmarking, Desktop Linux, Linux performance, Open Source graphics, Linux How To, Ubuntu benchmarks, Ubuntu hardware, Phoronix Test Suite
Working...
X