* [RFC][PATCH 2/5] add new exported function replace_page()
@ 2008-01-21 16:10 Izik Eidus
2008-01-23 18:04 ` [kvm-devel] " Rik van Riel
0 siblings, 1 reply; 3+ messages in thread
From: Izik Eidus @ 2008-01-21 16:10 UTC (permalink / raw)
To: kvm-devel, andrea, avi, dor.laor, linux-mm, yaniv
[-- Attachment #1: Type: text/plain, Size: 12 bytes --]
--
woof.
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: 0005-memory.c-add-new-exported-function-replace_page.patch --]
[-- Type: text/x-patch; name="0005-memory.c-add-new-exported-function-replace_page.patch", Size: 0 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kvm-devel] [RFC][PATCH 2/5] add new exported function replace_page()
2008-01-21 16:10 [RFC][PATCH 2/5] add new exported function replace_page() Izik Eidus
@ 2008-01-23 18:04 ` Rik van Riel
2008-01-23 18:13 ` Izik Eidus
0 siblings, 1 reply; 3+ messages in thread
From: Rik van Riel @ 2008-01-23 18:04 UTC (permalink / raw)
To: Izik Eidus; +Cc: kvm-devel, andrea, avi, dor.laor, linux-mm, yaniv
On Mon, 21 Jan 2008 18:10:50 +0200
Izik Eidus <izike@qumranet.com> wrote:
>
What prevents another CPU from freeing newpage while we run through
the start of replace_page() ?
--
All rights reversed.
--
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:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [kvm-devel] [RFC][PATCH 2/5] add new exported function replace_page()
2008-01-23 18:04 ` [kvm-devel] " Rik van Riel
@ 2008-01-23 18:13 ` Izik Eidus
0 siblings, 0 replies; 3+ messages in thread
From: Izik Eidus @ 2008-01-23 18:13 UTC (permalink / raw)
To: Rik van Riel; +Cc: kvm-devel, andrea, avi, dor.laor, linux-mm, yaniv
Rik van Riel wrote:
> On Mon, 21 Jan 2008 18:10:50 +0200
> Izik Eidus <izike@qumranet.com> wrote:
>
>
>
> What prevents another CPU from freeing newpage while we run through
> the start of replace_page() ?
>
>
before calling to replace_page one have to call to get_page() and to do
put_page() after it finished
this what i am doing in ksm.c
should i do it in diffrent way?
--
woof.
--
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:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2008-01-23 18:13 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-21 16:10 [RFC][PATCH 2/5] add new exported function replace_page() Izik Eidus
2008-01-23 18:04 ` [kvm-devel] " Rik van Riel
2008-01-23 18:13 ` Izik Eidus
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox