Skip to content

Conversation

@wangchen61698
Copy link
Contributor

Note: Please adhere to Contributing Guidelines.

Summary

The loopback network driver sending task is placed in the LPWORK queue, which may result in delayed scheduling when the CPU usage reaches 100%, leading to the timely sending of cached messages from the loopback network driver and causing issues with post waitsem being too late​.we decied to set loopback sending task to the HPWORK queue.

Impact

loopback

Testing

It has passed self-testing in true machine(speaker equipment)

…ueue

The loopback network driver sending task is placed in the LPWORK queue, which may result in delayed scheduling when the CPU usage reaches 100%, leading to the timely sending of cached messages from the loopback network driver and causing issues with post waitsem being too late​.we decied to set loopback sending task to the HPWORK queue.

Signed-off-by: wangchen <wangchen41@xiaomi.com>
@github-actions github-actions bot added Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small labels Dec 22, 2025
Copy link
Contributor

@acassis acassis left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@wangchen61698 is there some possibility to happen the opposite: the loopback interface be used to starving the system? It could be used for some DoS (Denial of Service) attack to render IoT devices unusable in the field.

@jerpelea jerpelea changed the title loopback:setting loopback network driver sending task to the HPWORK queue drivers/net: setting loopback network driver sending task to the HPWORK queue Dec 22, 2025
Copy link
Contributor

@jerpelea jerpelea left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

please update the commit title to
drivers/net: setting loopback network driver sending task to the HPWORK queue

@acassis acassis merged commit fac6c2a into apache:master Dec 23, 2025
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Networking Effects networking subsystem Size: XS The size of the change in this PR is very small

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants