Messages in this thread | | | Date | Thu, 18 Nov 2010 20:15:40 +0100 | From | Andrea Arcangeli <> | Subject | Re: [PATCH 64 of 66] scale nr_rotated to balance memory pressure |
| |
On Tue, Nov 09, 2010 at 03:16:21PM +0900, KOSAKI Motohiro wrote: > I haven't seen this patch series carefully yet. So, probably > my question is dumb. Why don't we need to change ->recent_scanned[] too?
That one is taken care by the prev patch where it is increased by 512 through nr_taken (after the previous patch the isolation methods now return in 4k units). What was left to update was the nr_rotated++ which is why this patch isn't touching the recent_scanned.
Andrea
| |