Skip to contentSkip to conversation

kiobuf question

kernel Andrea Arcangeli 1 participant 1 message Nov 15, 2001 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 2 lines · Gerd Knorr

83 if (PageLRU(page))
84 BUG(); <<================

this is a VM bug, not a bttv bug.

One simple fix is to replace __free_page(page) in unmap_kiobuf with page_cache_release(page). that will cure it.

But a better fix that I probably prefer for robusteness is to change in page_alloc.c __free_pages with page_cache_release, so that we always do this:

		if (PageLRU(page))
			lru_cache_del(page);

while freeing pages.

Andrea