Messages in this thread | | | From | Con Kolivas <> | Subject | Re: shrink_all_memory tweaks (was: Re: Userland swsusp failure (mm-related)) | Date | Fri, 14 Apr 2006 00:01:29 +1000 |
| |
On Thursday 13 April 2006 23:54, Rafael J. Wysocki wrote: > On Thursday 13 April 2006 14:42, Con Kolivas wrote: > > This is not quite right at maintaining the original semantics I was > > proposing. Since you are iterating over all priorities, setting may_swap > > means you will reclaim mapped ram on the earlier passes once priority > > gets low enough. > > No, I won't, because I don't update zone->prev_priority which is necessary > to trigger this. Unless of course zone->prev_priority is already low > enough ...
Ah yes of course, that explains why I didn't need to either :P
> > Setting vm_swappiness temporarily to 100 is unncecessary. You should set > > may_swap to 0 and set it to 1 on passes 3+. > > ... which can be dealt with by setting may_swap like you're saying. > > I'll make this change and repost as an RFC in a separate thread.
Great
-- -ck - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |