Re: [PATCH 2/3] sparc64: implement page mapping percpu first chunkallocator

From: Tejun Heo
Date: Mon Sep 28 2009 - 20:15:34 EST


Hello, David.

David Miller wrote:
> From: Tejun Heo <tj@xxxxxxxxxx>
> Date: Thu, 24 Sep 2009 21:56:32 +0900
>
>> Implement page mapping percpu first chunk allocator as a fallback to
>> the embedding allocator. The next patch will make the embedding
>> allocator check distances between units to determine whether it fits
>> within the vmalloc area so that this fallback can be used on such
>> cases.
>>
>> sparc64 currently has relatively small vmalloc area which makes it
>> impossible to create any dynamic chunks on certain configurations
>> leading to percpu allocation failures. This and the next patch should
>> allow those configurations to keep working until proper solution is
>> found.
>>
>> Signed-off-by: Tejun Heo <tj@xxxxxxxxxx>
>> ---
>> David, can you please ack this after reviewing?
>
> Tejun I am testing out the following patch which will make these
> patches of your's basically unnecessary:

Ah... great but unless you object, I think it would be better to push
it out anyway just to make things a bit more robust and ease tracking
and debugging when something goes wrong. The added code is small and
ditched once boot is complete. What do you think?

Thanks.

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