[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20090410131200.793C.A69D9226@jp.fujitsu.com>
Date: Fri, 10 Apr 2009 13:13:59 +0900 (JST)
From: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To: KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
Cc: kosaki.motohiro@...fujitsu.com,
Andrew Morton <akpm@...ux-foundation.org>,
Andy Grover <andy.grover@...cle.com>,
linux-kernel@...r.kernel.org, mingo@...hat.com, npiggin@...e.de
Subject: Re: [PATCH 1/1] Document get_user_pages_fast()
> > > and Cow change owner process.
> >
> > hm. buggy userspace? Why is that a problem from a kernel perspective?
>
> We already started to discuttion in "[PATCH] fork vs gup(-fast) fix" thread.
> but this is very difficult problem. it is still in progress ;)
note:
access_process_vm() tell us right get_user_pages() usage.
mmap_sem prevent fork in critical section. then it don't have cow risk.
> > > Yes, current all gup caller have serious bug. especially direct-io, aio, bio
> > > are broken.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists