[RFC PATCH 1/2] kernel/fork.c: add a function to calculate page address from thread_info
kosaki.motohiro at jp.fujitsu.com
Tue May 26 20:49:03 PDT 2015
On Sun, May 24, 2015 at 12:01 PM, Jungseok Lee <jungseoklee85 at gmail.com> wrote:
> A current implementation assumes thread_info address is always correctly
> calculated via virt_to_page. It restricts a different approach, such as
> thread_info allocation from vmalloc space.
> This patch, thus, introduces an independent function to calculate page
> address from thread_info one.
> Suggested-by: Sungjinn Chung <barami97 at gmail.com>
> Signed-off-by: Jungseok Lee <jungseoklee85 at gmail.com>
> Cc: KOSAKI Motohiro <kosaki.motohiro at jp.fujitsu.com>
> Cc: linux-arm-kernel at lists.infradead.org
> kernel/fork.c | 7 ++++++-
> 1 file changed, 6 insertions(+), 1 deletion(-)
I haven't receive a path [2/2] and haven't review whole patches. But
this patch itself is OK to me.
Acked-by: KOSAKI Motohiro <kosaki.motohiro at fujitsu.com>
More information about the linux-arm-kernel