File tree Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Expand file tree Collapse file tree 1 file changed +8
-1
lines changed Original file line number Diff line number Diff line change @@ -131,10 +131,15 @@ static __always_inline void guest_enter_irqoff(void)
131
131
}
132
132
}
133
133
134
- static __always_inline void guest_exit_irqoff (void )
134
+ static __always_inline void context_tracking_guest_exit (void )
135
135
{
136
136
if (context_tracking_enabled ())
137
137
__context_tracking_exit (CONTEXT_GUEST );
138
+ }
139
+
140
+ static __always_inline void guest_exit_irqoff (void )
141
+ {
142
+ context_tracking_guest_exit ();
138
143
139
144
instrumentation_begin ();
140
145
if (vtime_accounting_enabled_this_cpu ())
@@ -159,6 +164,8 @@ static __always_inline void guest_enter_irqoff(void)
159
164
instrumentation_end ();
160
165
}
161
166
167
+ static __always_inline void context_tracking_guest_exit (void ) { }
168
+
162
169
static __always_inline void guest_exit_irqoff (void )
163
170
{
164
171
instrumentation_begin ();
You can’t perform that action at this time.
0 commit comments