From: Alex Rousskov Date: Fri, 24 Jun 2011 15:51:16 +0000 (-0600) Subject: Polished I/O spelling. X-Git-Tag: take07~6 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=2a4124b9167b9fcbe5844c54aab4fff7ae46540e;p=thirdparty%2Fsquid.git Polished I/O spelling. --- diff --git a/src/ipc/mem/Pages.cc b/src/ipc/mem/Pages.cc index 68e659494d..312c186e34 100644 --- a/src/ipc/mem/Pages.cc +++ b/src/ipc/mem/Pages.cc @@ -85,7 +85,7 @@ Ipc::Mem::CachePageLevel() size_t Ipc::Mem::IoPageLevel() { - // TODO: make a separate counter for shared memory pages for IPC IO + // TODO: make a separate counter for shared memory pages for IPC I/O return PageLevel(); } @@ -126,7 +126,7 @@ void SharedMemPagesRr::run(const RunnerRegistry &) if (IamMasterProcess()) { Must(!owner); - // reserve 10% for IPC IO + // reserve 10% for IPC I/O const size_t capacity = Ipc::Mem::CachePageLimit() * 1.1; owner = Ipc::Mem::PagePool::Init(PagePoolId, capacity, Ipc::Mem::PageSize()); } diff --git a/src/ipc/mem/Pages.h b/src/ipc/mem/Pages.h index e2615eef72..a8e06f0b8b 100644 --- a/src/ipc/mem/Pages.h +++ b/src/ipc/mem/Pages.h @@ -33,7 +33,7 @@ size_t PageLimit(); /// use at any time size_t CachePageLimit(); -/// the total number of shared memory pages for IPC IO that can be in +/// the total number of shared memory pages for IPC I/O that can be in /// use at any time size_t IoPageLimit(); @@ -43,7 +43,7 @@ size_t PageLevel(); /// approximate total number of shared memory pages for memory cache used now size_t CachePageLevel(); -/// approximate total number of shared memory pages for IPC IO used now +/// approximate total number of shared memory pages for IPC I/O used now size_t IoPageLevel(); /// approximate total number of shared memory pages we can allocate now @@ -53,7 +53,7 @@ inline size_t PagesAvailable() { return PageLimit() - PageLevel(); } /// allocate now inline size_t CachePagesAvailable() { return CachePageLimit() - CachePageLevel(); } -/// approximate total number of shared memory pages for IPC IO we can allocate now +/// approximate total number of shared memory pages for IPC I/O we can allocate now inline size_t IoPagesAvailable() { return IoPageLimit() - IoPageLevel(); } /// returns page size in bytes; all pages are assumed to be the same size