linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* problem in follow_hugetlb_page on ppc64 architecture with get_user_pages
@ 2007-11-06  7:42 Christoph Raisch
  2007-11-06 15:05 ` aglitke
  2007-11-06 15:06 ` Hoang-Nam Nguyen
  0 siblings, 2 replies; 6+ messages in thread
From: Christoph Raisch @ 2007-11-06  7:42 UTC (permalink / raw)
  To: linux-kernel, linux-ppc, general; +Cc: Roland Dreier, Hoang-Nam Nguyen


Hello,
if get_user_pages is used on a hugetlb vma, and there was no previous write
to the pages,
follow_hugetlb_page will call
ret = hugetlb_fault(mm, vma, vaddr, 0),
although the page should be used for write access in get_user_pages.

We currently see this when testing Infiniband on ppc64 with ehca +
hugetlbfs.
>From reading the code this should also be an issue on other architectures.
Roland, Adam, are you aware of anything in this area with mellanox
Infiniband cards or other usages with I/O adapters?

Gruss / Regards
Christoph R. + Nam Ng.

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2007-11-07  8:35 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-06  7:42 problem in follow_hugetlb_page on ppc64 architecture with get_user_pages Christoph Raisch
2007-11-06 15:05 ` aglitke
2007-11-06 16:39   ` Hoang-Nam Nguyen
2007-11-06 15:06 ` Hoang-Nam Nguyen
2007-11-06 22:31   ` David Gibson
2007-11-07  8:35     ` [ofa-general] " Christoph Raisch

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).