[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]
[dm-devel] Re: [PATCH] dm.c : Check memory allocations
- From: Kevin Corry <corry ecn purdue edu>
- To: joe fib011235813 fsnet co uk (Joe Thornber)
- Cc: dm-devel sistina com, linux-kernel vger kernel org
- Subject: [dm-devel] Re: [PATCH] dm.c : Check memory allocations
- Date: Tue Dec 31 10:22:02 2002
>
> On Fri, Dec 27, 2002 at 04:55:31PM -0500, Kevin Corry wrote:
> > Check memory allocations when cloning bio's.
>
> Rejected, clone_bio() cannot fail since it's allocating from a mempool
> with __GFP_WAIT set.
>
> - Joe
Hmm. Yep. I must have mistaken GFP_NOIO for GFP_ATOMIC.
But based on that reasoning, shouldn't the bio_alloc() call
in split_bvec() always return a valid bio, and hence make the
checks in split_bvec() and __clone_and_map() unnecessary?
Kevin
[Date Prev][Date Next] [Thread Prev][Thread Next]
[Thread Index]
[Date Index]
[Author Index]