Re: [PATCH 1/11] oprofile: add check_user_page_readable()

From: Andrew Morton
Date: Tue Nov 09 2004 - 06:11:31 EST

Greg Banks <gnb@xxxxxxxxxxxxxxxxx> wrote:
> Add check_user_page_readable() for kernel modules which need
> to follow user space addresses but can't use get_user().

Strange. What is the usage pattern for this? And why is that usage
pattern not racy in the presence of paging activity?

Did you consider use_mm(), in conjunction with get_user()?
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at