Re: [PATCH 2/4] Add replace_page(), change the mapping of pte from one page into another

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Andrea Arcangeli
Date: Tuesday, November 11, 2008 - 4:25 pm

On Wed, Nov 12, 2008 at 12:17:22AM +0100, Andrea Arcangeli wrote:

Ah, for completeness: above I didn't mention the case of O_DIRECT
writes to disk, because we never need to care about those. They're
never a problem. If the page is replaced and the cpu writes to the
page and by doing so triggers a cow that lead to the CPU write to go
in a different page (not the one under dma) it'll be like if the write
to disk completed before the cpu overwritten the page, so result is
undefined. I don't think we've to define the case of somebody doing a
direct read from a location where there's still an o_direct write in
flight either.
--
To unsubscribe from this list: send the line "unsubscribe kvm" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[PATCH 1/4] rmap: add page_wrprotect() function,, Izik Eidus, (Tue Nov 11, 6:21 am)
[PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 6:21 am)
[PATCH 4/4] MMU_NOTIFIRES: add set_pte_at_notify(), Izik Eidus, (Tue Nov 11, 6:21 am)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrew Morton, (Tue Nov 11, 12:39 pm)
Re: [PATCH 0/4] ksm - dynamic page sharing driver for linux, Andrea Arcangeli, (Tue Nov 11, 12:55 pm)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrea Arcangeli, (Tue Nov 11, 1:38 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Andrew Morton, (Tue Nov 11, 1:38 pm)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrew Morton, (Tue Nov 11, 2:01 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 2:06 pm)
Re: [PATCH 1/4] rmap: add page_wrprotect() function,, Andrea Arcangeli, (Tue Nov 11, 2:17 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 2:21 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 2:26 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 2:31 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 2:35 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 2:47 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Andrea Arcangeli, (Tue Nov 11, 3:03 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Jonathan Corbet, (Tue Nov 11, 3:03 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 3:17 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 3:17 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 3:24 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Jonathan Corbet, (Tue Nov 11, 3:25 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 3:30 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Jonathan Corbet, (Tue Nov 11, 3:30 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 3:31 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 3:38 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Valdis.Kletnieks, (Tue Nov 11, 3:40 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Avi Kivity, (Tue Nov 11, 3:43 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Avi Kivity, (Tue Nov 11, 3:49 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Izik Eidus, (Tue Nov 11, 4:02 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Andrea Arcangeli, (Tue Nov 11, 4:03 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 4:17 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 4:25 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 5:27 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., KAMEZAWA Hiroyuki, (Tue Nov 11, 7:19 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Tue Nov 11, 7:27 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Tue Nov 11, 8:10 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Wed Nov 12, 10:32 am)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Lee Schermerhorn, (Wed Nov 12, 1:08 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Wed Nov 12, 1:27 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Christoph Lameter, (Wed Nov 12, 1:31 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Lee Schermerhorn, (Wed Nov 12, 3:09 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Wed Nov 12, 7:00 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., Andrea Arcangeli, (Wed Nov 12, 7:31 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., KAMEZAWA Hiroyuki, (Wed Nov 12, 11:11 pm)
Re: [PATCH 3/4] add ksm kernel shared memory driver, Eric Rannaud, (Wed Nov 12, 11:13 pm)
Re: [PATCH 2/4] Add replace_page(), change the mapping of ..., KAMEZAWA Hiroyuki, (Thu Nov 13, 4:32 am)