Re: [PATCH v2 3/3] ceph: ceph_pagelist_append might sleep whileatomic

From: Jim Schutt
Date: Wed May 15 2013 - 12:54:17 EST


On 05/15/2013 10:49 AM, Alex Elder wrote:
> On 05/15/2013 11:38 AM, Jim Schutt wrote:
>> > Ceph's encode_caps_cb() worked hard to not call __page_cache_alloc() while
>> > holding a lock, but it's spoiled because ceph_pagelist_addpage() always
>> > calls kmap(), which might sleep. Here's the result:
> This looks good to me, but I admit I didn't take as close
> a look at it this time.
>
> I appreciate your updating the series to include the things
> I mentioned.
>
> I'll commit these for you, and I'll get confirmation on the
> byte order thing as well.

Cool. Thanks, Alex.

-- Jim

>
> Reviewed-by: Alex Elder <elder@xxxxxxxxxxx>
>
>


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/