> 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 [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/