Re: [patch 1/6] Guest page hinting: core + volatile page cache.

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Martin Schwidefsky
Date: Thursday, March 13, 2008 - 2:24 am

On Thu, 2008-03-13 at 10:12 +1100, Rusty Russell wrote:

In this patch yes, but a later patch adds a condition:

-       if (flags & FOLL_GET) {
+       if ((flags & FOLL_GET) || (vma->vm_flags & VM_LOCKED)) {



Fixed.


That is a major nit. This should be an #ifdef. In previous versions the
complete "if (!pte_present(*pte)) { }" is ifdefed, the later versions
use the !spin_is_locked condition. Only I forgot to invert the #ifndef.
Fixed.


I take the small review anytime. Already found one major nit.

-- 
blue skies,
  Martin.

"Reality continues to ruin my life." - Calvin.


--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 1/6] Guest page hinting: core + volatile page cache., Martin Schwidefsky, (Wed Mar 12, 6:21 am)
Re: [patch 1/6] Guest page hinting: core + volatile page c ..., Martin Schwidefsky, (Thu Mar 13, 2:24 am)