kib 79db892faa Do not coalesce if the swap object belongs to tmpfs vnode. The
coalesce would extend the object to keep pages for the anonymous
mapping created by the process.  The pages has no relations to the
tmpfs file content which could be written into the corresponding
range, causing anonymous mapping and file content aliasing and
subsequent corruption.

Another lesser problem created by coalescing is over-accounting on the
tmpfs node destruction, since the object size is substracted from the
total count of the pages owned by the tmpfs mount.

Reported and tested by:	bdrewery
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
2013-11-05 06:18:50 +00:00
..
2013-10-29 11:17:49 +00:00
2013-11-05 01:06:22 +00:00
2013-09-29 15:19:34 +00:00
2013-11-02 10:49:47 +00:00
2013-08-22 16:39:59 +00:00
2013-10-24 00:33:29 +00:00
2013-11-01 17:38:52 +00:00