Re: scheduler_tick() confusing comment: called from fork code

2010-12-08 Thread lalit mohan tripathi
On Wed, Dec 8, 2010 at 1:29 PM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: Hi Lalit... On Wed, Dec 8, 2010 at 13:15, lalit mohan tripathi lalit.tripa...@gmail.com wrote:  Thanks for your reply.   The global timer interrupt is called periodically at the HZ frequency (or as set for

Re: scheduler_tick() confusing comment: called from fork code

2010-12-08 Thread Himanshu Maithani
Hi, It seems that this is obsolete.. There is a call in 2.6.12.6 kernel (during fork), but not in the latest kernel. Please refer to: http://lxr.linux.no/linux+v2.6.12/kernel/sched.c http://lxr.linux.no/linux+v2.6.12/kernel/sched.c On Wed, Dec 8, 2010 at 6:33 PM, lalit mohan tripathi

Re: scheduler_tick() confusing comment: called from fork code

2010-12-08 Thread Mulyadi Santosa
Hi... On Wed, Dec 8, 2010 at 21:39, Himanshu Maithani hmaith...@gmail.com wrote: Hi, It seems that this is obsolete.. There is a call in 2.6.12.6 kernel (during fork), but not in the latest kernel. Please refer to: http://lxr.linux.no/linux+v2.6.12/kernel/sched.c ACK,

Re: scheduler_tick() confusing comment: called from fork code

2010-12-07 Thread Mulyadi Santosa
dear Lalit... On Tue, Dec 7, 2010 at 11:53, lalit mohan tripathi lalit.tripa...@gmail.com wrote: I have suspicion on second line (It also timeslices.), is that statement true? 3567 * This function gets called by the timer code, with HZ frequency. 3568 * We call it with interrupts

Re: scheduler_tick() confusing comment: called from fork code

2010-12-07 Thread lalit mohan tripathi
On Wed, Dec 8, 2010 at 7:19 AM, Mulyadi Santosa mulyadi.sant...@gmail.com wrote: dear Lalit... On Tue, Dec 7, 2010 at 11:53, lalit mohan tripathi lalit.tripa...@gmail.com wrote: I have suspicion on second line (It also timeslices.), is that statement true? 3567 * This function gets

Re: scheduler_tick() confusing comment: called from fork code

2010-12-06 Thread lalit mohan tripathi
On Mon, Dec 6, 2010 at 10:17 PM, Anuz Pratap Singh Tomar chambilketha...@gmail.com wrote: On Mon, Dec 6, 2010 at 4:13 PM, lalit mohan tripathi lalit.tripa...@gmail.com wrote: The comment for function:  void scheduler_tick(void) in sched.c seems confusing:  [   It also gets called by the