[PATCH 2.4.0-test8] mm/filemap.c

From: Bill Wendling (wendling@ganymede.isdn.uiuc.edu)
Date: Thu Sep 14 2000 - 03:32:53 EST


Hi Linus,

Here's a small optimization for the mm/filemap.c file.

        - The `head = &mapping->pages;' statement is useless inside the
          repeat, since head isn't modified inside the loop.
        - The `curr = curr->next;' statement doesn't need to be executed
          if the repeat is taken. I changed the while() into a for() loop
          to accomodate this better.

Share and enjoy!

-- 
|| Bill Wendling			wendling@ganymede.isdn.uiuc.edu


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



This archive was generated by hypermail 2b29 : Fri Sep 15 2000 - 21:00:23 EST