mirror of
https://github.com/adulau/aha.git
synced 2024-12-27 11:16:11 +00:00
[PATCH] x86_64: Don't invoke OOM killer while allocating floppy DMA buffers
Floppy can fall back to smaller buffers, so don't do OOM killing. Signed-off-by: Andi Kleen <ak@suse.de> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
28456edeff
commit
554d284ba9
1 changed files with 1 additions and 1 deletions
|
@ -155,7 +155,7 @@ static int fd_request_irq(void)
|
|||
|
||||
static unsigned long dma_mem_alloc(unsigned long size)
|
||||
{
|
||||
return __get_dma_pages(GFP_KERNEL,get_order(size));
|
||||
return __get_dma_pages(GFP_KERNEL|__GFP_NORETRY,get_order(size));
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue