Re: [patch 3/9] Guest page hinting: volatile page cache.

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Fri, 2006-09-01 at 19:42 +0200, Martin Schwidefsky wrote: 
> The problem of page discard vs. normal page remove is that the page can
> be remove and discarded at the same time. Both sides are writers in the
> sense that they want to remove the page from page cache. RCU doesn't not
> help with that kind of race. 

OK.  It comes down to a race between 

	__remove_from_page_cache()/__delete_from_swap_cache()

and

	__page_discard()

running on the same page at the same time.  Right?

-- Dave

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux