Re: [patch 4/6] mm: merge populate and nopage into fault (fixesnonlinear)
From: Miklos Szeredi
Date: Wed Mar 07 2007 - 04:26:40 EST
> >
> > Look in page_mkclean(). Where does it handle non-linear mappings?
> >
>
> OK, I'd forgotten about that. It won't break dirty memory accounting,
> but it'll potentially break dirty memory balancing.
>
> If we have the wrong page (due to nonlinear), page_check_address() will
> fail and we'll leave the pte dirty.
It won't even get that far, because it only looks at vmas on
mapping->i_mmap, and not on i_mmap_nonlinear.
Miklos
-
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/