Re: [RFC][PATCH 6/8] mm: handle_speculative_fault()

From: Linus Torvalds
Date: Tue Jan 05 2010 - 23:21:41 EST




On Wed, 6 Jan 2010, KAMEZAWA Hiroyuki wrote:
> >
> > Of course, your other load with MADV_DONTNEED seems to be horrible, and
> > has some nasty spinlock issues, but that looks like a separate deal (I
> > assume that load is just very hard on the pgtable lock).
>
> It's zone->lock, I guess. My test program avoids pgtable lock problem.

Yeah, I should have looked more at your callchain. That's nasty. Much
worse than the per-mm lock. I thought the page buffering would avoid the
zone lock becoming a huge problem, but clearly not in this case.

Linus
--
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/