<div dir="ltr"><div>Yes, it is. It also takes away the modularity of different parts of an operating system.<br></div><div>Thanks for the help.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Aug 21, 2020 at 4:40 PM Sebastian Huber <<a href="mailto:sebastian.huber@embedded-brains.de">sebastian.huber@embedded-brains.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">On 21/08/2020 13:06, Richi Dubey wrote:<br>
<br>
> I understand what you're saying. Accessing the chain of scheduled node <br>
> to figure out which node is scheduled on which processor is a more <br>
> formal and safer way to do it than directly accessing a cpu's variable.<br>
The difference is a bit more than just safer. Using the per-processor <br>
variables in the scheduler code is simply wrong.<br>
</blockquote></div>