]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Added TODO to deal with page alignment.
authorAlex Rousskov <rousskov@measurement-factory.com>
Thu, 14 Apr 2011 20:21:36 +0000 (14:21 -0600)
committerAlex Rousskov <rousskov@measurement-factory.com>
Thu, 14 Apr 2011 20:21:36 +0000 (14:21 -0600)
Same may be needed (but for non-performance reasons) for
Ipc::Mem::Segment::reserve().

src/ipc/mem/PagePool.h

index 102ac1ce0b156741b6c866ef10b7710321d5b028..ff4693d8b88ca72ac3eadf10a68d4bfc12ee8c81 100644 (file)
@@ -45,6 +45,7 @@ private:
         const unsigned int theCapacity; ///< number of pages in the pool
         const size_t thePageSize; ///< page size
 
+        // TODO: add padding to make pages system page-aligned?
         char theBuf[]; ///< pages storage
     };