On Jul 27, 2009, at 1:10 PM, Roland Dreier wrote:
And I don't think the upstream kernel has that limit on kmalloc size
either (at least with SLUB, not sure about SLAB).
This patch was actually written as an emulation of the upstream SLUB
behavior, which is exactly the same thing: on large alloc
> > And I don't think the upstream kernel has that limit on kmalloc size
> > either (at least with SLUB, not sure about SLAB).
>
> This patch was actually written as an emulation of the upstream SLUB
> behavior, which is exactly the same thing: on large allocations
> forward to __g_f_p().
On Jul 23, 2009, at 3:06 PM, Roland Dreier wrote:
This will fix the 2^20 bits limit on our bitmaps once and for all.
Not really... since getting > 128KB of contiguous memory is likely to
fail anyway.
That depends. If you mean at bootup when you are first loading the
module, no. You only n
> This will fix the 2^20 bits limit on our bitmaps once and for all.
Not really... since getting > 128KB of contiguous memory is likely to
fail anyway.
And I don't think the upstream kernel has that limit on kmalloc size
either (at least with SLUB, not sure about SLAB).
Really the long-term fi
On Jul 23, 2009, at 4:20 AM, Jack Morgenstein wrote:
On Thursday 16 July 2009 21:08, Doug Ledford wrote:
On rhel4 and rhel5 machines, the kmalloc implementation does not
automatically forward kmalloc requests > 128kb to __get_free_pages.
Please include this patch in all rhel4 and rhel5 backport
On Thursday 16 July 2009 21:08, Doug Ledford wrote:
> On rhel4 and rhel5 machines, the kmalloc implementation does not
> automatically forward kmalloc requests > 128kb to __get_free_pages.
> Please include this patch in all rhel4 and rhel5 backport directories
> so that we do the right thing
On rhel4 and rhel5 machines, the kmalloc implementation does not
automatically forward kmalloc requests > 128kb to __get_free_pages.
Please include this patch in all rhel4 and rhel5 backport directories
so that we do the right thing in the mthca driver on rhel in regards
to kmalloc request