printk("swsusp: critical section/: done (%d pages copied)\n", nr_copy_pages ); 
nr_copy_pages = nr_pages;  printk("swsusp: critical section/: done (%d pages copied)\n", nr_pages); 
static int suspend_prepare_image(void){	int error;	pr_debug("swsusp: critical section: \n");	if (save_highmem()) {		printk(KERN_CRIT "swsusp: Not enough free pages for highmem\n");		restore_highmem();		return -ENOMEM;	}	drain_local_pages();	count_data_pages();	printk("swsusp: Need to copy %u pages\n", nr_copy_pages);	pr_debug("swsusp: pages needed: %u + %lu + %u, free: %u\n",		 nr_copy_pages,		 nr_copy_pages/PBES_PER_PAGE + !!(nr_copy_pages%PBES_PER_PAGE),		 PAGES_FOR_IO, nr_free_pages());	if (!enough_free_mem()) {		printk(KERN_ERR "swsusp: Not enough free memory\n");		return -ENOMEM;	}	if (!enough_swap()) {		printk(KERN_ERR "swsusp: Not enough free swap\n");		return -ENOSPC;	}	error = swsusp_alloc();	if (error)		return error;	/* During allocating of suspend pagedir, new cold pages may appear.	 * Kill them.	 */	drain_local_pages();	copy_data_pages();	/*	 * End of critical section. From now on, we can write to memory,	 * but we should not touch disk. This specially means we must _not_	 * touch swap space! Except we must write out our image of course.	 */	printk("swsusp: critical section/: done (%d pages copied)\n", nr_copy_pages );	return 0;}
4520	/local/tlutelli/issta_data/temp/c/2005_temp/2005/4520/a0f496517f3e28d651d0cbbcf2d4fb701ed6957e/snapshot.c/buggy/kernel/power/snapshot.c