diff options
| author | Igor Sysoev <igor@sysoev.ru> | 2008-12-17 20:47:18 +0000 |
|---|---|---|
| committer | Igor Sysoev <igor@sysoev.ru> | 2008-12-17 20:47:18 +0000 |
| commit | ed9b6d8962c6b7cf0546d0b2d69f34c879395757 (patch) | |
| tree | 684eab753a2509ef2ef571925633b2cacce689ca /src/core | |
| parent | cf6c582b9a617ccec1de1e09015143757c79c00d (diff) | |
| download | nginx-ed9b6d8962c6b7cf0546d0b2d69f34c879395757.tar.gz nginx-ed9b6d8962c6b7cf0546d0b2d69f34c879395757.tar.bz2 | |
remove never used zero copy stuff
Diffstat (limited to 'src/core')
| -rw-r--r-- | src/core/ngx_buf.c | 6 | ||||
| -rw-r--r-- | src/core/ngx_buf.h | 2 | ||||
| -rw-r--r-- | src/core/ngx_palloc.h | 1 |
3 files changed, 0 insertions, 9 deletions
diff --git a/src/core/ngx_buf.c b/src/core/ngx_buf.c index 31d990315..2f2c43721 100644 --- a/src/core/ngx_buf.c +++ b/src/core/ngx_buf.c @@ -201,12 +201,6 @@ ngx_chain_update_chains(ngx_chain_t **free, ngx_chain_t **busy, break; } -#if (NGX_HAVE_WRITE_ZEROCOPY) - if ((*busy)->buf->zerocopy_busy) { - break; - } -#endif - if ((*busy)->buf->tag != tag) { *busy = (*busy)->next; continue; diff --git a/src/core/ngx_buf.h b/src/core/ngx_buf.h index ce26c630e..8649bdb9e 100644 --- a/src/core/ngx_buf.h +++ b/src/core/ngx_buf.h @@ -51,8 +51,6 @@ struct ngx_buf_s { unsigned last_shadow:1; unsigned temp_file:1; - unsigned zerocopy_busy:1; - /* STUB */ int num; }; diff --git a/src/core/ngx_palloc.h b/src/core/ngx_palloc.h index 434f9728b..c31db932c 100644 --- a/src/core/ngx_palloc.h +++ b/src/core/ngx_palloc.h @@ -14,7 +14,6 @@ /* * NGX_MAX_ALLOC_FROM_POOL should be (ngx_pagesize - 1), i.e. 4095 on x86. - * On FreeBSD 5.x it allows to use the zero copy sending. * On Windows NT it decreases a number of locked pages in a kernel. */ #define NGX_MAX_ALLOC_FROM_POOL (ngx_pagesize - 1) |
