mm/dmapool.c: use TASK_UNINTERRUPTIBLE in dma_pool_alloc()
authorAndrew Morton <akpm@linux-foundation.org>
Thu, 13 Jan 2011 23:47:25 +0000 (15:47 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 14 Jan 2011 01:32:48 +0000 (17:32 -0800)
commit684265d4a30f133162f06ddb2e5010608e60e4bb
treef4eb3cab6bdbebf48360a8bc8696588483ac0e52
parent84bc227d7fde049a568cd58a5610613feedc0dff
mm/dmapool.c: use TASK_UNINTERRUPTIBLE in dma_pool_alloc()

As it stands this code will degenerate into a busy-wait if the calling task
has signal_pending().

Cc: Rolf Eike Beer <eike-kernel@sf-tec.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
mm/dmapool.c