lkml.org 
[lkml]   [2006]   [Oct]   [23]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
DateSun, 22 Oct 2006 23:15:15 -0700
Fromyhlu <>
SubjectRe: [PATCH 1/2] x86_64 irq: Simplify the vector allocator.
On 10/22/06, Eric W. Biederman <ebiederm@xmission.com> wrote:
>
> There is no reason to remember a per cpu position of which vector
> to try. Keeping a global position is simpler and more likely to
> result in a global vector allocation even if I don't need or require
> it. For level triggered interrupts this means we are less likely to
> acknowledge another cpus irq, and cause the level triggered irq to
> harmlessly refire.
>
> This simplification makes it easier to only access data structures
> of online cpus, by having fewer special cases to deal with.
>
>
> Signed-off-by: Eric W. Biederman <ebiederm@xmission.com>

Good, It will keep increase vector, and only try to use same vector for
different cpu when vector is used up.
Acked-by: Yinghai Lu <yinghai.lu@amd.com>
-
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: 2006-10-23 08:17    [from the cache]
©2003-2010