Re: [PATCH v2 1/2] msync: support syncing a small part of the file

From: Paolo Bonzini
Date: Mon Jul 02 2012 - 04:14:07 EST


Il 22/06/2012 23:12, Andrew Morton ha scritto:
> Please recall my thus-far-utterly-and-irritatingly-ignored comments
> about nonlinear mappings. Presently an msync() on a nonlinear mapping
> will work correctly, because we sync the whole file, yes? And with
> this change, we will no longer sync all the pages which were covered by
> the affected memory range. Thus breaking the syscall?

The comment was not ignored, it was missed altogether, and you're
completely right.

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