Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 1c48bc5f authored by Dave Airlie's avatar Dave Airlie
Browse files

agp: add no warn since we have a fallback to vmalloc paths



also drop the NORETRY we can probably nearly always satisfy order 1 allocs now,
and again the vmalloc path is there.

Signed-off-by: default avatarDave Airlie <airlied@redhat.com>
parent da931a93
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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);
	}