public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Demand faulting for hugetlb
@ 2005-10-11 18:24 Adam Litke
  2005-10-11 18:31 ` [PATCH 1/3] hugetlb: Remove get_user_pages optimization Adam Litke
                   ` (3 more replies)
  0 siblings, 4 replies; 11+ messages in thread
From: Adam Litke @ 2005-10-11 18:24 UTC (permalink / raw)
  To: akpm; +Cc: ADAM G. LITKE [imap], linux-kernel, linux-mm, David Gibson, ak,
	hugh

Ok, here's the next iteration of these patches.  I think I've handled
the truncate() case by comparing the hugetlbfs inode's i_size with the
mapping offset of the requested page to make sure it hasn't been
truncated.  Can anyone confirm or deny that I have the locking correct
for this?  The other patches are still unchanged.  Andrew: Did Andi
Kleen's explanation of huge_pages_needed() satisfy?
-- 
Adam Litke - (agl at us.ibm.com)
IBM Linux Technology Center


^ permalink raw reply	[flat|nested] 11+ messages in thread
* [PATCH 0/3] Demand faulting for hugetlb
@ 2005-09-06 21:53 Adam Litke
  0 siblings, 0 replies; 11+ messages in thread
From: Adam Litke @ 2005-09-06 21:53 UTC (permalink / raw)
  To: linux-kernel; +Cc: ADAM G. LITKE [imap]

I am sending out the latest set of patches for hugetlb demand faulting.
I've incorporated all the feedback I've received from previous
discussions and I think this is ready for some more widespread testing.
Is anyone opposed to spinning this in -mm as it stands?

The three patches:
 1) Remove a get_user_pages() optimization that is no longer valid for
demand faulting
 2) Move fault logic from hugetlb_prefault() to hugetlb_pte_fault()
 3) Apply a simple overcommit check so demand fault accounting behaves
in a manner in line with how prefault worked

Diffed against 2.6.13-git6


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

end of thread, other threads:[~2005-10-14  1:25 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-10-11 18:24 [PATCH 0/3] Demand faulting for hugetlb Adam Litke
2005-10-11 18:31 ` [PATCH 1/3] hugetlb: Remove get_user_pages optimization Adam Litke
2005-10-11 18:32 ` [PATCH 0/3] Demand faulting for hugetlb Andrew Morton
2005-10-11 19:16   ` [PATCH 3/3] hugetlb: Simple overcommit check Adam Litke
2005-10-11 18:32 ` [PATCH 2/3] hugetlb: Demand fault handler Adam Litke
2005-10-12  6:09   ` David Gibson
2005-10-12  7:25     ` Hugh Dickins
2005-10-13 15:49     ` Adam Litke
2005-10-14  1:24       ` David Gibson
2005-10-11 18:33 ` [PATCH 3/3] hugetlb: Simple overcommit check Adam Litke
  -- strict thread matches above, loose matches on Subject: below --
2005-09-06 21:53 [PATCH 0/3] Demand faulting for hugetlb Adam Litke

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox