How to create Linux Kernel Low-Priority Threads

Discussion in 'Linux Hardware' started by robertgraham1906, Oct 3, 2013.

  1. robertgraham1906

    robertgraham1906 New Member

    Messages:
    1
    Likes Received:
    1
    Trophy Points:
    1
    I have a process in my linux kernel driver that takes a long time (flashing the device via ethtool's flash device function). Because it takes a long time, I get kernel soft lock warnings in the log. Is there a way to create a LOW priority thread? I've tried kthread_create and even using a workqueue_struct, but those aren't low priority.

    DevynCJohnson likes this.
  2. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,268
    Likes Received:
    431
    Trophy Points:
    83
  3. Vijay Kishore Reddy R

    Vijay Kishore Reddy R New Member

    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    0
    Hi all,
    I am trying to use ethtool on my Target Board after loading Linux.
    The Linux version is 2.6.31.5.
    The error message displayed when I used this command is:
    -sh: ethtool: not found.

    I understood that I can't use ethtool command on the Target board. But, now my question is how to change my Ethernet Port's speed and duplex mode?
    Please help me to get a solution.
  4. ryanvade

    ryanvade Administrator Staff Member Staff Writer

    Messages:
    1,268
    Likes Received:
    431
    Trophy Points:
    83
    Please start a new thread.

Share This Page