Messages in this thread | | | Date | Tue, 21 Aug 2007 03:13:13 +0200 | From | Andi Kleen <> | Subject | Re: [RFC 7/7] Switch of PF_MEMALLOC during writeout |
| |
> Right. I am not sure exactly how to handle that. There is also the issue > of the writes being deferred. I thought maybe of using pdflush to writeout > the pages? Maybe increase priority of the pdflush so that it runs > immediately when notified. Shrink_page_list would gather the dirty pages > in pvecs and then forward to a pdflush. That may make the whole thing much > cleaner.
Not sure anything complicated is needed.
You could just add another process flag and set PF_MEMALLOC on the first recursion?
-Andi - 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/
| |