Hi Gaggery,

Thanks for the reply.
Sori for the miss understanding. init.rc won't work I guess. I want
some thing done at the kernel level(scheduler) I mean like telling the
scheduler about a process and the scheduler adding it to the red-black
tree of the CFS.

Regards,
Kanishka
On 4/23/12, Tsai Gaggery <gaggery.t...@gmail.com> wrote:
> Hi DK,
>
>    I said Android "DOES NOT" has its own scheduler, it relies on the
> Linux kernel to do process scheduling. I am not sure why you want to
> add a process before user starts the process. But, if you just want to
> execute a process before other user's application, you may modify the
> init.rc or init.MACHINE_NAME.rc to achieve it.
>
> regards,
> Gaggery
>
> 2012/4/24 DK <kanishka...@gmail.com>:
>> Thanks Gaggery,
>>
>> U mean Android has its own scheduler? Do you know how to add a process
>> to the CFS scheduler(rbtree). I mean if a user starts a process it
>> will be automatically added, but want to add it before the user starts
>> the process.
>>
>> Regards,
>> Kanishka
>> On Apr 23, 8:07 pm, Tsai Gaggery <gaggery.t...@gmail.com> wrote:
>>> I thinkandroidhas no its ownscheduler. It relies on Linux kernel to
>>> do the process scheduling. Currently, the default Linuxscheduleris
>>> CFS.
>>>
>>> 2012/4/23 DK <kanishka...@gmail.com>:
>>>
>>> >Androidscheduleris using the Completely Fair Scheduling(CFS) right?
>>> > I would like to know how to add a process (application) to the rbtree
>>> > (the runqueue)? I would like to know how this can be done, before the
>>> > user starting that process.
>>>
>>> > --
>>> > unsubscribe:android-kernel+unsubscr...@googlegroups.com
>>> > website:http://groups.google.com/group/android-kernel
>>>
>>> --
>>> Regards,
>>> Gaggery
>>
>> --
>> unsubscribe: android-kernel+unsubscr...@googlegroups.com
>> website: http://groups.google.com/group/android-kernel
>
>
>
> --
> Regards,
> Gaggery
>
> --
> unsubscribe: android-kernel+unsubscr...@googlegroups.com
> website: http://groups.google.com/group/android-kernel

-- 
unsubscribe: android-kernel+unsubscr...@googlegroups.com
website: http://groups.google.com/group/android-kernel

Reply via email to