projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
28456ed
)
[PATCH] x86_64: Don't invoke OOM killer while allocating floppy DMA buffers
author
Andi Kleen
<ak@suse.de>
Sat, 25 Mar 2006 15:30:40 +0000
(16:30 +0100)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Sat, 25 Mar 2006 17:10:55 +0000
(09:10 -0800)
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>
include/asm-x86_64/floppy.h
patch
|
blob
|
blame
|
history
diff --git
a/include/asm-x86_64/floppy.h
b/include/asm-x86_64/floppy.h
index af7ded63b51737f4b3874ed9601a189b3cd58465..52825ce689f21a3f897641fa042f52fd4be4b1bd 100644
(file)
--- a/
include/asm-x86_64/floppy.h
+++ b/
include/asm-x86_64/floppy.h
@@
-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));
}