linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
* Atomic operation for physically moving a page
@ 2004-06-19  0:37 Ashwin Rao
  2004-06-19  1:03 ` Valdis.Kletnieks
  2004-06-19  2:43 ` Atomic operation for physically moving a page Dave Hansen
  0 siblings, 2 replies; 13+ messages in thread
From: Ashwin Rao @ 2004-06-19  0:37 UTC (permalink / raw)
  To: linux-kernel, linux-mm

I want to copy a page from one physical location to
another (taking the appr. locks). To keep the
operation of copying and updation of all ptes and
caches atomic one way proposed by my team members was
to sleep the processes accessing the page.
ptep_to_mm gives us the mm_struct but container_of
cannot help to get to task_struct as it contains a
mm_struct pointer. Is there any way of identifying the
proccess's from the pte_entry.
Is there any way out to solve my original problem  of
keeping the whole operation of copying and updation
atomic as this is a bad solution for real time
processes but is there any other way out.

Ashwin



		
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - Send 10MB messages!
http://promotions.yahoo.com/new_mail 
--
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] 13+ messages in thread

end of thread, other threads:[~2004-06-24 11:31 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-06-19  0:37 Atomic operation for physically moving a page Ashwin Rao
2004-06-19  1:03 ` Valdis.Kletnieks
2004-06-19  2:53   ` Dave Hansen
2004-06-19  3:15   ` Atomic operation for physically moving a page (for memory defragmentation) Ashwin Rao
2004-06-19  3:34     ` Valdis.Kletnieks
2004-06-19  4:25     ` Dave Hansen
2004-06-23  9:04       ` IWAMOTO Toshihiro
2004-06-23 11:59       ` Hirokazu Takahashi
2004-06-23 20:56         ` Dave Hansen
2004-06-24  7:19           ` IWAMOTO Toshihiro
2004-06-24 11:31             ` Dave Hansen
2004-06-23 10:32     ` Hirokazu Takahashi
2004-06-19  2:43 ` Atomic operation for physically moving a page Dave Hansen

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