]> git.baikalelectronics.ru Git - kernel.git/commit
e100: Use pci pool to work around GFP_ATOMIC order 5 memory allocation failure
authorRoger Oksanen <roger.oksanen@cs.helsinki.fi>
Mon, 30 Nov 2009 01:17:29 +0000 (17:17 -0800)
committerDavid S. Miller <davem@davemloft.net>
Mon, 30 Nov 2009 01:17:29 +0000 (17:17 -0800)
commitac495cde63981b97386d586257e721545bc10b11
treee4d66cca447ab2065224a6afb66edbf78b079d48
parent1f11b75dfe99d1e1312a9c07db89554c7a5fdc20
e100: Use pci pool to work around GFP_ATOMIC order 5 memory allocation failure

pci_alloc_consistent uses GFP_ATOMIC allocation that may fail on some systems
with limited memory (Bug #14265). pci_pool_alloc allows waiting with
GFP_KERNEL.

Tested-by: Karol Lewandowski <karol.k.lewandowski@gmail.com>
Signed-off-by: Roger Oksanen <roger.oksanen@cs.helsinki.fi>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/e100.c