Re: [PATCH] mm: add a nopanic option for low bootmem

From: Jon Mason
Date: Tue Apr 25 2006 - 10:04:57 EST


On Tue, Apr 25, 2006 at 12:43:38AM +0200, Andi Kleen wrote:
> On Monday 24 April 2006 23:44, Jon Mason wrote:
> > This patch adds a no panic option for low bootmem allocs. This will
> > allow for a more graceful handling of "out of memory" for those
> > callers who wish to handle it.
>
> What's the user of it? Normally we don't merge such changes without
> an user.

Sorry. Per your suggestion in the review of our Calgary IOMMU code, I
tried to use the alloc_bootmem_nopanic that you recently added.
Unfortunately, it needs low mem for our translation tables, so we needed
a new function to do this.

Aside from Calgary, I have updated swiotlb to take advantage of this new
function (amongst other clean-ups and refinements). I'll push those
swiotlb patches out today.

Thanks,
Jon

>
> -Andi
-
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/