vmscan.c: shrink_cache() doubt

From: alad@hss.hns.com
Date: Sat Dec 29 2001 - 03:18:48 EST


In shrink_cache(), we have

          if (!page->buffers && (page_count(page) != 1 || !page->mapping))
               goto page_mapped;
          .
          .
          .
page_mapped:
          if (--max_mapped >=0)
               continue;

Assume page->buffers == NULL and page->count == 1, then why jump to page_mapped
if page->mapping == NULL ??

-- Amol

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



This archive was generated by hypermail 2b29 : Mon Dec 31 2001 - 21:00:19 EST