Re: when/how is the schedule() function actually called?

2023-12-08 Thread iso m
On 08/12/23 11:51 pm, Dawei Li wrote: > Hi Valdis, > > Thanks for getting back to me! > I should've looked into newer versions. (Was looking at 2.6.34 because the > latest book I have on linux kernel, Linux > Kernel Development, 3rd Edition by Robert Love, is based on that version.) > > I do

Re: when/how is the schedule() function actually called?

2023-12-08 Thread Billie Alsup (balsup)
>From: Dawei Li >When/how is the schedule() function actually called? I vaguely recall the actual switch taking place at the end of an interrupt, and/or during the return from a syscall, or on explicit request (e.g. yield). Look at __schedule and context_switch functions.

Re: when/how is the schedule() function actually called?

2023-12-08 Thread Dawei Li
Hi Valdis, Thanks for getting back to me! I should've looked into newer versions. (Was looking at 2.6.34 because the latest book I have on linux kernel, Linux Kernel Development, 3rd Edition by Robert Love, is based on that version.) I do have the same question for the latest version. Here:

Re: when/how is the schedule() function actually called?

2023-12-08 Thread Valdis Klētnieks
On Sat, 09 Dec 2023 00:16:32 +0800, Dawei Li said: > Greetings! > (Although I am using the 2.6.34 version, I believe the question is generally > applicable to any kernel version.) That is, in general, a bad assumption when you are looking at kernel versions old enough that they count as digital

when/how is the schedule() function actually called?

2023-12-08 Thread Dawei Li
Greetings! I am reading several resources regarding the linux kernel scheduling (in kernel 2.6.34). There seems to be the periodic scheduler (tick_periodic()), which invokes the scheduler_tick() function, then the entity_tick() function, and then the resched_task() function. However, eventually,

Re: Your confirmation is required to leave the Kernelnewbies mailing list

2023-12-08 Thread Abhijit K Rao
Please remove from mailing list Best Regards Abhijit On Fri, 8 Dec 2023 at 19:12, shrikanth malawad wrote: > Please remove from mailing list > > > On Fri, Dec 8, 2023 at 7:10 PM shrikanth malawad < > shrikanth.mala...@gmail.com> wrote: > >> Please remove from mailing list >> >> On Fri, Dec 8,

Re: Your confirmation is required to leave the Kernelnewbies mailing list

2023-12-08 Thread shrikanth malawad
Please remove from mailing list On Fri, Dec 8, 2023 at 7:10 PM shrikanth malawad < shrikanth.mala...@gmail.com> wrote: > Please remove from mailing list > > On Fri, Dec 8, 2023 at 7:09 PM < > kernelnewbies-confirm+9286dc1e48a84934f6dad5be0d38d7fa330fc...@kernelnewbies.org> > wrote: > >> Mailing

Re: from CoLinux to MoreLinux :D

2023-12-08 Thread Mario Marietto
Ok but then what it means what I read below (taken from wikipedia) : L4Linux also allows setting up a virtualized environment vaguely similar to Xen or Kernel-bas

Re: from CoLinux to MoreLinux :D

2023-12-08 Thread Richard
On 08.12.23 09:11, Mario Marietto wrote: With l4linux (or redox) can I boot and run 2 linux distros using the same kernel ? I ask because the developers talk about virtualization and because CoLinux allows us to boot Linux while using Windows What I'm very interested to achieve is to run

Re: from CoLinux to MoreLinux :D

2023-12-08 Thread Mario Marietto
Infact from Wikipedia I can read : L4Linux also allows setting up a virtualized environment vaguely similar to Xen or Kernel-based Virtual Machine (KVM),

Re: from CoLinux to MoreLinux :D

2023-12-08 Thread Mario Marietto
With l4linux (or redox) can I boot and run 2 linux distros using the same kernel ? I ask because the developers talk about virtualization and because CoLinux allows us to boot Linux while using Windows What I'm very interested to achieve is to run Linux as a process under FreeBSD or vice