Page scan keeps touching kernel text pages

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <linux-mm@...>, <linux-kernel@...>
Date: Sunday, February 24, 2008 - 10:47 am

While tracking down some unrelated bug I noticed that shrink_page_list()
keeps testing very low page numbers (aka kernel text) until deciding
that the page lacks a mapping and cannot get freed.  Looks like a waste
of cpu and cachelines to me.

Is there a better reason for this behaviour than lack of a patch?

Jörn

-- 
Joern's library part 11:
http://www.unicom.com/pw/reply-to-harmful.html
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Page scan keeps touching kernel text pages, Jörn, (Sun Feb 24, 10:47 am)
Re: Page scan keeps touching kernel text pages, Andy Whitcroft, (Mon Feb 25, 11:07 am)
Re: Page scan keeps touching kernel text pages, Dave Hansen, (Mon Feb 25, 1:48 pm)
Re: Page scan keeps touching kernel text pages, Andy Whitcroft, (Mon Feb 25, 3:21 pm)
Re: Page scan keeps touching kernel text pages, Dave McCracken, (Mon Feb 25, 3:46 pm)
Re: Page scan keeps touching kernel text pages, Jörn, (Mon Feb 25, 11:15 am)