direct-io.hg

changeset 4435:185169ecc5e0

bitkeeper revision 1.1236.1.193 (424d888a262A5Ir_HqRljU1mKSNUsQ)

Merge firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-2.0-testing.bk
into firebug.cl.cam.ac.uk:/local/scratch/kaf24/xen-unstable.bk
author kaf24@firebug.cl.cam.ac.uk
date Fri Apr 01 17:44:42 2005 +0000 (2005-04-01)
parents 8c365db41887 88fed5c27d6d
children f042ec659698
files xen/common/page_alloc.c
line diff
     1.1 --- a/xen/common/page_alloc.c	Fri Apr 01 17:07:20 2005 +0000
     1.2 +++ b/xen/common/page_alloc.c	Fri Apr 01 17:44:42 2005 +0000
     1.3 @@ -633,8 +633,11 @@ static void page_scrub_softirq(void)
     1.4          
     1.5          /* Peel up to 16 pages from the list. */
     1.6          for ( i = 0; i < 16; i++ )
     1.7 -            if ( (ent = ent->next) == &page_scrub_list )
     1.8 +        {
     1.9 +            if ( ent->next == &page_scrub_list )
    1.10                  break;
    1.11 +            ent = ent->next;
    1.12 +        }
    1.13          
    1.14          /* Remove peeled pages from the list. */
    1.15          ent->next->prev = &page_scrub_list;