<p><b>@benpicco</b> approved this pull request.</p>

<p>I don't have hardware to test, but the change is easy to follow nonetheless.<br>
<code>sched_context_switch_request</code> is evaluated by <a href="https://github.com/RIOT-OS/RIOT/blob/master/cpu/arm7_common/common.s#L112"><code>arm_irq_handler</code></a> right after the ISR (which is the only piece of code that could call <code>thread_yield_higher()</code> in interrupt context) has been executed.</p>
<p>When not in interrupt context, a Supervisor Call is executed as before.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/RIOT-OS/RIOT/pull/11887?email_source=notifications&email_token=ABE7WYDMUHW4ETBFCE2FLNLQJALE5A5CNFSM4IGAHOCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEJRF4I#pullrequestreview-286462705">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABE7WYC4HKMYSLHBTCXVGODQJALE5ANCNFSM4IGAHOCA">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABE7WYFXNHGQFNRCYTMPO53QJALE5A5CNFSM4IGAHOCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEJRF4I.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/RIOT-OS/RIOT/pull/11887?email_source=notifications\u0026email_token=ABE7WYDMUHW4ETBFCE2FLNLQJALE5A5CNFSM4IGAHOCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEJRF4I#pullrequestreview-286462705",
"url": "https://github.com/RIOT-OS/RIOT/pull/11887?email_source=notifications\u0026email_token=ABE7WYDMUHW4ETBFCE2FLNLQJALE5A5CNFSM4IGAHOCKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOCEJRF4I#pullrequestreview-286462705",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>