Messages in this thread Patch in this message | | | Date | Fri, 26 Jan 2007 20:20:36 +0100 | Subject | Re: mm snapshot broken-out-2007-01-26-00-36.tar.gz uploaded | From | Michal Piotrowski <> |
| |
Christoph Lameter napisał(a): > On Fri, 26 Jan 2007, Michal Piotrowski wrote: > >> Please try patches from >> http://www.stardust.webpages.pl/files/tbf/euridica/mm-snapshot-2007-01-26/ >> >> http://www.stardust.webpages.pl/files/tbf/euridica/mm-snapshot-2007-01-26/bugs_and_patches.txt > > Ahh. Okay that fixes most of the issues > > > ZVC writeback: Fix mm and other issues > > This deals with swap prefetch and various things changed in mm. >
Additional fix
Regards, Michal
-- Michal K. K. Piotrowski LTG - Linux Testers Group (http://www.stardust.webpages.pl/ltg/)
Signed-off-by: Michal Piotrowski <michal.k.k.piotrowski@gmail.com>
--- linux-work-clean/kernel/power/snapshot.c 2007-01-26 16:45:32.000000000 +0100 +++ linux-work/kernel/power/snapshot.c 2007-01-26 20:17:09.000000000 +0100 @@ -591,7 +591,7 @@ static unsigned int count_free_highmem_p
for_each_zone(zone) if (populated_zone(zone) && is_highmem(zone)) - cnt += zone->free_pages; + cnt += zone_page_state(zone, NR_FREE_PAGES);
return cnt; } @@ -869,7 +869,7 @@ static int enough_free_mem(unsigned int for_each_zone(zone) { meta += snapshot_additional_pages(zone); if (!is_highmem(zone)) - free += zone->free_pages; + free += zone_page_state(zone, NR_FREE_PAGES); }
nr_pages += count_pages_for_highmem(nr_highmem); - 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/
| |