Skip to contentSkip to conversation

page_launder() questions...

DISCUSSION Zlatko Calusic 1 participant 1 message Jan 7, 2001 Memory management

lore
Share & tools
lore
#0 lore raw

In page_launder():

		/* First time through? Move it to the back of the list */
		if (!launder_loop) {
			list_del(page_lru);
			list_add(page_lru, &inactive_dirty_list);
			UnlockPage(page);
			continue;
		}

Well, it has just found a dirty page and instead of writing it out it skips it and continues scanning. I don't get it!

Also, all comments speak about swap cache pages, but if I understand correctly, now even "normal" page cache pages get the dirty bit when dirtied, so they should also be written out in the page_launder() function, right?

Signature · 5 lines
Zlatko
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to [email protected].  For more info on Linux MM,
see: http://www.linux.eu.org/Linux-MM/