Re: [BLOCK] bh: Ensure bh fits within a page
From: Andrew Morton
Date: Tue Aug 01 2006 - 00:02:19 EST
On Tue, 1 Aug 2006 13:04:43 +1000
Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx> wrote:
>
> There is a bug in jbd with slab debugging enabled where it was submitting
> a bh obtained via jbd_rep_kmalloc which crossed a page boundary. A lot
> of time was spent on tracking this down because the symptoms were far off
> from where the problem was.
>
> This patch adds a sanity check to submit_bh so we can immediately spot
> anyone doing similar things in future.
Seems sane.
> Signed-off-by: Herbert Xu <herbert@xxxxxxxxxxxxxxxxxxx>
>
> While you're at it, could you fix that jbd bug for us :)
Could we have a more detailed description?
-
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/