]> git.ipfire.org Git - thirdparty/squid.git/commit
Polished calculation of the number of needed memory pages for one Store write.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 3 Nov 2011 21:09:04 +0000 (15:09 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 3 Nov 2011 21:09:04 +0000 (15:09 -0600)
commit2ad518407c75df128b188890c1cfdffc3b5ad779
tree71a87765446e09e800bf447fe41c4e791fe3f052
parentf4fc86109ca41db9cfdec2faa856af5c5489a2e9
Polished calculation of the number of needed memory pages for one Store write.

The old code was overestimating the number of memory pages required when we
needed to write exactly n*SM_PAGE_SIZE bytes.
src/store.cc