public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH trivial] block: GFP_ATOMIC is __GFP_HIGH
@ 2008-06-28 23:54 Hugh Dickins
  2008-06-29  1:38 ` Eduard - Gabriel Munteanu
  0 siblings, 1 reply; 5+ messages in thread
From: Hugh Dickins @ 2008-06-28 23:54 UTC (permalink / raw)
  To: Jens Axboe; +Cc: Andrew Morton, linux-kernel

GFP_ATOMIC is __GFP_HIGH: no need for alloc_io_context() to add that.

Signed-off-by: Hugh Dickins <hugh@veritas.com>
---

 block/blk-ioc.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

--- linux-next/block/blk-ioc.c	2008-05-12 02:01:05.000000000 +0100
+++ linux/block/blk-ioc.c	2008-06-27 14:08:00.000000000 +0100
@@ -98,7 +98,7 @@ struct io_context *alloc_io_context(gfp_
 		ret->last_waited = jiffies; /* doesn't matter... */
 		ret->nr_batch_requests = 0; /* because this is 0 */
 		ret->aic = NULL;
-		INIT_RADIX_TREE(&ret->radix_root, GFP_ATOMIC | __GFP_HIGH);
+		INIT_RADIX_TREE(&ret->radix_root, GFP_ATOMIC);
 		INIT_HLIST_HEAD(&ret->cic_list);
 		ret->ioc_data = NULL;
 	}

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-06-29 18:23 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-06-28 23:54 [PATCH trivial] block: GFP_ATOMIC is __GFP_HIGH Hugh Dickins
2008-06-29  1:38 ` Eduard - Gabriel Munteanu
2008-06-29  6:16   ` Hugh Dickins
2008-06-29 14:15     ` Eduard - Gabriel Munteanu
2008-06-29 18:23       ` Jens Axboe

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox