linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* RE: [RFC/PATCH]  pfn_valid() more generic : arch independent part[0/2]
@ 2004-10-07  5:22 Luck, Tony
  2004-10-07  6:28 ` Hiroyuki KAMEZAWA
  0 siblings, 1 reply; 5+ messages in thread
From: Luck, Tony @ 2004-10-07  5:22 UTC (permalink / raw)
  To: Hiroyuki KAMEZAWA, Martin J. Bligh; +Cc: LinuxIA64, linux-mm

>Because pfn_valid() often returns 0 in inner loop of free_pages_bulk(),
>I want to avoid page fault caused by using get_user() in pfn_valid().

How often?  Surely this is only a problem at the edges of blocks
of memory?  I suppose it depends on whether your discontig memory
appears in blocks much smaller than MAXORDER.  But even there it
should only be an issue coalescing buddies that are bigger than
the granule size (since all of the pages in a granule on ia64 are
guaranteed to exist, the buddy of any page must also exist).

Do you have some data to show that this is a problem.

-Tony
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>

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

end of thread, other threads:[~2004-10-07 23:32 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-10-07  5:22 [RFC/PATCH] pfn_valid() more generic : arch independent part[0/2] Luck, Tony
2004-10-07  6:28 ` Hiroyuki KAMEZAWA
2004-10-07  6:51   ` align vmemmap to ia64's granule Hiroyuki KAMEZAWA
2004-10-07 14:38   ` [RFC/PATCH] pfn_valid() more generic : arch independent part[0/2] Martin J. Bligh
2004-10-07 23:38     ` Hiroyuki KAMEZAWA

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