Skip to content

Commit

Permalink
agp: add no warn since we have a fallback to vmalloc paths
Browse files Browse the repository at this point in the history
also drop the NORETRY we can probably nearly always satisfy order 1 allocs now,
and again the vmalloc path is there.

Signed-off-by: Dave Airlie <airlied@redhat.com>
  • Loading branch information
Dave Airlie committed Jun 15, 2010
1 parent da931a9 commit 1c48bc5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion drivers/char/agp/generic.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ void agp_alloc_page_array(size_t size, struct agp_memory *mem)
mem->pages = NULL;

if (size <= 2*PAGE_SIZE)
mem->pages = kmalloc(size, GFP_KERNEL | __GFP_NORETRY);
mem->pages = kmalloc(size, GFP_KERNEL | __GFP_NOWARN);
if (mem->pages == NULL) {
mem->pages = vmalloc(size);
}
Expand Down

0 comments on commit 1c48bc5

Please sign in to comment.