From: Alex Rousskov Date: Thu, 14 Apr 2011 20:21:36 +0000 (-0600) Subject: Added TODO to deal with page alignment. X-Git-Tag: take06~24 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4f882f1674fd8ac7d69ac0366efc8d8127af6bfa;p=thirdparty%2Fsquid.git Added TODO to deal with page alignment. Same may be needed (but for non-performance reasons) for Ipc::Mem::Segment::reserve(). --- diff --git a/src/ipc/mem/PagePool.h b/src/ipc/mem/PagePool.h index 102ac1ce0b..ff4693d8b8 100644 --- a/src/ipc/mem/PagePool.h +++ b/src/ipc/mem/PagePool.h @@ -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 };