public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Re: Information about move_tasks return
@ 2004-11-30 22:11 Cícero
  0 siblings, 0 replies; 4+ messages in thread
From: Cícero @ 2004-11-30 22:11 UTC (permalink / raw)
  To: linux-kernel

> So as the "documentation" states, it returns the number of tasks
> actually moved.  For instance, The balancing code may request 4 tasks be
> moved, but for various reasons, only 2 were actually moved to other
> CPUs, move_tasks() would return 2.

hi,

Can you speak more about those various reasons? or tell me where I can
find out more information ?


[]s
:wq!

^ permalink raw reply	[flat|nested] 4+ messages in thread
* Information about move_tasks return
@ 2004-11-22 12:16 Cícero
  2004-11-22 16:02 ` Darren Hart
  0 siblings, 1 reply; 4+ messages in thread
From: Cícero @ 2004-11-22 12:16 UTC (permalink / raw)
  To: linux-kernel

hi

I am looking for the result of the function  move_task in

kernel/sched.c , I have observed that it returns an int value and as I
print it with printk.

I have created a int variable 'results_move_task' which capture the result of

move_task and I print it with printk("%d",results_move_task); I
observed that it often returns the value '1' and sometimes it returns
'2' or more. Is it really correct?

[]s

PS:Sorry about my english.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2004-11-30 22:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-11-30 22:11 Information about move_tasks return Cícero
  -- strict thread matches above, loose matches on Subject: below --
2004-11-22 12:16 Cícero
2004-11-22 16:02 ` Darren Hart
2004-11-23  4:56   ` Randy.Dunlap

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox