Re: [PATCH] sh: replace mutexes which are used in SH-4 user page copy/clear functions in 2.6.22.X

From: Paul Mundt
Date: Thu Aug 16 2007 - 11:34:11 EST


On Tue, Aug 14, 2007 at 05:08:16PM +0900, Katsuya MATSUBARA wrote:
> sh: replace mutexes which are used in SH-4 user page copy/clear
> functions in 2.6.22.X
>
> This patch replaces mutexes in copy_user_pages() and clear_user_pages()
> for SH-4 in 2.6.22.X. A 2.6.22.X kernel with CONFIG_PREEMPT_VOLUNTARY=y
> shows the following error because mutexes are sleepable.
>
This has already been fixed in current git by kmap_coherent(), including
reclaiming the beginning of P3 space for vmalloc.
-
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/