Re: [Bug #11940] Unable to handle kernel paging request atiov_iter_copy_from_user_atomic

From: David Miller
Date: Sun Nov 02 2008 - 16:04:45 EST


From: "Rafael J. Wysocki" <rjw@xxxxxxx>
Date: Sun, 2 Nov 2008 17:07:10 +0100 (CET)

> Bug-Entry : http://bugzilla.kernel.org/show_bug.cgi?id=11940
> Subject : Unable to handle kernel paging request at iov_iter_copy_from_user_atomic
> Submitter : Alexander Beregalov <a.beregalov@xxxxxxxxx>
> Date : 2008-11-01 14:23 (2 days old)
> References : http://marc.info/?l=linux-kernel&m=122554945922521&w=4
> Handled-By : Hugh Dickins <hugh@xxxxxxxxxxx>
> Patch : http://marc.info/?l=linux-kernel&m=122556602913200&w=4

Patch is now in Linus's tree:

commit 145e1c0023585e0e8f6df22316308ec61c5066b2
Author: Hugh Dickins <hugh@xxxxxxxxxxx>
Date: Sat Nov 1 21:41:40 2008 -0700

sparc64: Fix __copy_{to,from}_user_inatomic defines.

Alexander Beregalov reports oops in __bzero() called from
copy_from_user_fixup() called from iov_iter_copy_from_user_atomic(),
when running dbench on tmpfs on sparc64: its __copy_from_user_inatomic
and __copy_to_user_inatomic should be avoiding, not calling, the fixups.

Signed-off-by: Hugh Dickins <hugh@xxxxxxxxxxx>
Signed-off-by: David S. Miller <davem@xxxxxxxxxxxxx>
--
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/