Re: [PATCH 1/5]: ufs: missed brelse and wrong baseblk

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Comment more on the entire series than on this patch: scenario that causes
trouble
	* foo is a sparse file on ufs with 8Kb block/1Kb fragment
	* process opens it writable and mmaps it shared
	* it proceeds to dirty the pages
	* fork
	* parent and child do msync() on pages next to each other

I.e. we try to write adjacent pages that sit in the same block.  At the
same time.  Each will trigger an allocation and we'd better be very
careful, or we'll end up allocating the same block twice.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux