Re: [RFC][PATCH] lru_add_drain_all() don't use schedule_on_each_cpu()

From: KOSAKI Motohiro
Date: Fri Oct 24 2008 - 01:29:33 EST


> > > I don't see a better way to solve it, other than avoiding lru_add_drain_all
> >
> > Well,
> >
> > Unfortunately, lru_add_drain_all is also used some other VM place
> > (page migration and memory hotplug).
> > and page migration's usage is the same of this mlock usage.
> > (1. grab mmap_sem 2. call lru_add_drain_all)
> >
> > Then, change mlock usage isn't solution ;-)
>
> No, not mlock alone.

Ah, I see.
It seems difficult but valuable. I'll think this way for a while.


Thanks.


--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/