lkml.org 
[lkml]   [2008]   [Sep]   [22]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH 1/3] switch vector_irq[] from irq number to irq_desc pointer v2
Mike Travis wrote:
> Ingo Molnar wrote:
>> * Mike Travis <travis@sgi.com> wrote:
>>
>>> Hi Ingo,
>>>
>>> Note that my recent patch from a couple of weeks ago, stripped almost
>>> all of the cpumask_t's from the io_apic functions. Any chance we can
>>> apply them before we add more?
>>>
>>> I'd be willing to merge in Dean's patch over the top of mine (or
>>> vice-versa).
>> i'm really looking forwards to Rusty's 'get-rid-of-cpumask_t use'
>> patchset, which would solve such cpumask_t proliferation issues once and
>> for all.
>>
>> Ingo
>
> Hi Ingo,
>
> The net effect of the "getting rid of cpumask_t's" will be the same. This
> patch reduces considerably the amount of stack space being required right
> now.

Btw, my patch will still be useful even after cpumask's are passed by reference
in that it optimizes the cpumask's that are being used. For example, in one
function 3 cpumask_t's become 1. In some others, 2 were reduced to 1. Since
the new cpumask approach will require temp cpumask's, this cuts down on the
number of temp cpumask's required.

Thanks,
Mike


\
 
 \ /
  Last update: 2008-09-22 17:47    [W:0.039 / U:0.144 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site