All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] Demand faulting for hugetlb
@ 2005-09-06 21:53 Adam Litke
  2005-09-06 21:57 ` [PATCH 1/3 htlb-get_user_pages] " Adam Litke
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ 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] 8+ messages in thread
* [PATCH 0/3] Demand faulting for hugetlb
@ 2005-10-11 18:24 ` Adam Litke
  0 siblings, 0 replies; 8+ 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] 8+ messages in thread

end of thread, other threads:[~2005-10-11 18:32 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-06 21:53 [PATCH 0/3] Demand faulting for hugetlb Adam Litke
2005-09-06 21:57 ` [PATCH 1/3 htlb-get_user_pages] " Adam Litke
2005-09-06 21:58 ` [PATCH 2/3 htlb-fault] " Adam Litke
2005-09-06 22:00 ` [PATCH 3/3 htlb-acct] " Adam Litke
  -- strict thread matches above, loose matches on Subject: below --
2005-10-11 18:24 [PATCH 0/3] " Adam Litke
2005-10-11 18:24 ` Adam Litke
2005-10-11 18:32 ` Andrew Morton
2005-10-11 18:32   ` Andrew Morton

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.