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

From: Muli Ben-Yehuda
Date: Tue Apr 25 2006 - 01:35:08 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.

Calgary and swiotlb can use it to gracefully handle out of memory when
they allocate their aperture (swiotlb) or translation tables (Calgary)
on initialization. Either can fall back to no-iommu if initialization
fails so there's really no need to panic.

Jon, you should probably resubmit this with your swiotlb patches
making use of it.

Cheers,
Muli
--
Muli Ben-Yehuda
http://www.mulix.org | http://mulix.livejournal.com/

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