lkml.org 
[lkml]   [2001]   [Nov]   [27]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [patch] sched_[set|get]_affinity() syscall, 2.4.15-pre9
FromAndi Kleen <>
Date27 Nov 2001 08:32:42 +0100
Joe Korty <l-k@mindspring.com> writes:
> 
> I have not yet seen the patch, but one nice feature that a system call 
> interface
> could provide is the ability to *atomically* change the cpu affinities of 
> sets of
> processes

Could you quickly explain an use case where it makes a difference if 
CPU affinity settings for multiple processes are done atomically or not ? 

The only way to make CPU affinity settings of processes really atomically 
without a "consolidation window" is to
do them before the process starts up. This is easy when they're inherited --
just set them for the parent before starting the other processes. This 
works with any interface; proc based or not as long as it inherits.

-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 12:13    [W:0.109 / U:8.520 seconds]
©2003-2008 Jasper Spaans