Commit 72c3c0f
committed
x86/kvm: Use generic xfer to guest work function
Use the generic infrastructure to check for and handle pending work before
transitioning into guest mode.
This now handles TIF_NOTIFY_RESUME as well which was ignored so
far. Handling it is important as this covers task work and task work will
be used to offload the heavy lifting of POSIX CPU timers to thread context.
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Link: https://lkml.kernel.org/r/20200722220520.979724969@linutronix.de1 parent a27a0a5 commit 72c3c0f
3 files changed
Lines changed: 12 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
| 45 | + | |
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
| 30 | + | |
30 | 31 | | |
31 | 32 | | |
32 | 33 | | |
| |||
5373 | 5374 | | |
5374 | 5375 | | |
5375 | 5376 | | |
5376 | | - | |
5377 | | - | |
| 5377 | + | |
| 5378 | + | |
| 5379 | + | |
5378 | 5380 | | |
5379 | | - | |
| 5381 | + | |
5380 | 5382 | | |
5381 | | - | |
5382 | | - | |
5383 | | - | |
5384 | 5383 | | |
5385 | 5384 | | |
5386 | 5385 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
56 | 56 | | |
57 | 57 | | |
58 | 58 | | |
| 59 | + | |
59 | 60 | | |
60 | 61 | | |
61 | 62 | | |
| |||
1587 | 1588 | | |
1588 | 1589 | | |
1589 | 1590 | | |
1590 | | - | |
| 1591 | + | |
1591 | 1592 | | |
1592 | 1593 | | |
1593 | 1594 | | |
| |||
8681 | 8682 | | |
8682 | 8683 | | |
8683 | 8684 | | |
8684 | | - | |
8685 | | - | |
8686 | | - | |
8687 | | - | |
8688 | | - | |
8689 | | - | |
8690 | | - | |
| 8685 | + | |
8691 | 8686 | | |
8692 | | - | |
| 8687 | + | |
| 8688 | + | |
| 8689 | + | |
8693 | 8690 | | |
8694 | 8691 | | |
8695 | 8692 | | |
| |||
0 commit comments