Hi Mel,

On Sun, 1 Nov 2015 18:38:53 +0000 Mel Gorman <mgor...@techsingularity.net> 
wrote:
>
> On Mon, Nov 02, 2015 at 02:51:25AM +1100, Stephen Rothwell wrote:
> > 
> > @@ -2038,7 +2038,7 @@ void generic_make_request(struct bio *bio)
> >     do {
> >             struct request_queue *q = bdev_get_queue(bio->bi_bdev);
> >  
> > -           if (likely(blk_queue_enter(q, __GFP_WAIT) == 0)) {
> > +           if (likely(blk_queue_enter(q, __GFP_RECLAIM) == 0)) {
> >  
> >                     q->make_request_fn(q, bio);
> 
> ___GFP_DIRECT_RECLAIM is more appropriate than __GFP_RECLAIM in the
> second hunk.

OK, I have done that for today, thanks.

-- 
Cheers,
Stephen Rothwell                    s...@canb.auug.org.au
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Reply via email to