Thread (6 messages) 6 messages, 4 authors, 2004-08-17

Re: [Lhms-devel] Making hotremovable attribute with memory section[0/4]

From: Yasunori Goto <hidden>
Date: 2004-08-17 05:16:46
Also in: lkml

Hello.
On Maw, 2004-08-17 at 00:35, Dave Hansen wrote:
quoted
In any case, the question of the day is, does anyone have any
suggestions on how to create 2 separate pools for pages: one
representing hot-removable pages, and the other pages that may not be
removed?
How do you define the split. There are lots of circumstances where user
pages can be pinned for a long (near indefinite) period of time and used
for DMA.
Basically, kernel have to wait of completion of I/O.
Consider
- Video capture
- AGP Gart
- AGP based framebuffer (intel i8/9xx)
I didn't consider deeply about this, because usually
enterprise server doesn't need Video capture feature or AGP.
It is usually controlled from other machine.

If it is really necessary, kernel might have to wait 
I/O completion or driver modification is necessary.

- O_DIRECT I/O
I can use page remmaping method by Iwamoto-san.
(See: http://people.valinux.co.jp/~iwamoto/mh.html#remap)
I guess that many case can be saved by this.
There are also things like cluster interconnects, sendfile and the like
involved here.
In sendfile case, kernel will wait too. Sooner or later, it will be
timeout.

Thank you for your comment.
Bye.

-- 
Yasunori Goto <ygoto at us.fujitsu.com>


--
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>
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help