Commit 147cb25
committed
eventpoll: Control irq suspension for prefer_busy_poll
JIRA: https://issues.redhat.com/browse/RHEL-77189
Upstream Status: linux.git
commit 8a6de26
Author: Martin Karsten <mkarsten@uwaterloo.ca>
Date: Sat Nov 9 05:02:34 2024 +0000
eventpoll: Control irq suspension for prefer_busy_poll
When events are reported to userland and prefer_busy_poll is set, irqs
are temporarily suspended using napi_suspend_irqs.
If no events are found and ep_poll would go to sleep, irq suspension is
cancelled using napi_resume_irqs.
Signed-off-by: Martin Karsten <mkarsten@uwaterloo.ca>
Co-developed-by: Joe Damato <jdamato@fastly.com>
Signed-off-by: Joe Damato <jdamato@fastly.com>
Tested-by: Joe Damato <jdamato@fastly.com>
Tested-by: Martin Karsten <mkarsten@uwaterloo.ca>
Acked-by: Stanislav Fomichev <sdf@fomichev.me>
Reviewed-by: Sridhar Samudrala <sridhar.samudrala@intel.com>
Link: https://patch.msgid.link/20241109050245.191288-5-jdamato@fastly.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Signed-off-by: Antoine Tenart <atenart@redhat.com>1 parent aa15fa3 commit 147cb25
1 file changed
+31
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
457 | 457 | | |
458 | 458 | | |
459 | 459 | | |
| 460 | + | |
| 461 | + | |
460 | 462 | | |
461 | 463 | | |
462 | 464 | | |
| |||
540 | 542 | | |
541 | 543 | | |
542 | 544 | | |
| 545 | + | |
| 546 | + | |
| 547 | + | |
| 548 | + | |
| 549 | + | |
| 550 | + | |
| 551 | + | |
| 552 | + | |
| 553 | + | |
| 554 | + | |
| 555 | + | |
| 556 | + | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
543 | 561 | | |
544 | 562 | | |
545 | 563 | | |
| |||
557 | 575 | | |
558 | 576 | | |
559 | 577 | | |
| 578 | + | |
| 579 | + | |
| 580 | + | |
| 581 | + | |
| 582 | + | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
560 | 586 | | |
561 | 587 | | |
562 | 588 | | |
| |||
788 | 814 | | |
789 | 815 | | |
790 | 816 | | |
| 817 | + | |
791 | 818 | | |
792 | 819 | | |
793 | 820 | | |
| |||
2005 | 2032 | | |
2006 | 2033 | | |
2007 | 2034 | | |
2008 | | - | |
| 2035 | + | |
| 2036 | + | |
| 2037 | + | |
2009 | 2038 | | |
| 2039 | + | |
2010 | 2040 | | |
2011 | 2041 | | |
2012 | 2042 | | |
| |||
0 commit comments