mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* Re: Re: Re: Re: [RFC] PAGE_RW Should be added to PAGE_COPY ?
@ 2006-09-16  6:38 Zhou Yingchao
  0 siblings, 0 replies; only message in thread
From: Zhou Yingchao @ 2006-09-16  6:38 UTC (permalink / raw)
  To: Hugh Dickins; +Cc: linux-kernel, akpm, alan, zxc

>
>I replied too hastily.  I've since looked back to your original mail
Thank you for your patience.
>(in which you do mention Infiniband as an example, which has now
>helped to jog my brain), and realized that I was misinterpreting
>what you meant by "user-level network driver".
>
>The problem, as I now see it, is precisely with do_wp_page()'s
>TestSetPageLocked, as you first said.
Yeah, I think you get it.  ^_^
>
>Yes, it would be good if we could do that check in some other,
>reliable way.  The problem is that can_share_swap_page has to
>check page_mapcount (and PageSwapCache) and page_swapcount in
>an atomic way: the page lock is what we have used to guard the
>movement between mapcount and swapcount.
>
>I'll try to think whether we can do that better,
>but not until next week.
Ok, I expect for good news.
>
>Hugh

Yingchao Zhou


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2006-09-16  6:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-09-16  6:38 Re: Re: Re: [RFC] PAGE_RW Should be added to PAGE_COPY ? Zhou Yingchao

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

all inboxes | Powered by JetHome®