mirror of
http://git.haproxy.org/git/haproxy.git
synced 2026-02-04 08:33:39 +02:00
CLEANUP: assorted typo fixes in the code and comments
This is 31st iteration of typo fixes
This commit is contained in:
committed by
Willy Tarreau
parent
4c785f0a1f
commit
3b64a28e15
@@ -20,7 +20,7 @@ context that was allowed to use extra fields of various types. Other applets
|
||||
preferred to use their own context definition.
|
||||
|
||||
All this resulted in the appctx->ctx to contain a myriad of definitions of
|
||||
vairous service contexts, and in some services abusing other services'
|
||||
various service contexts, and in some services abusing other services'
|
||||
definitions by laziness, and others being extended to use their own definition
|
||||
after having run for a long time on the generic types, some of which were not
|
||||
noticed and mistakenly used the same storage locations by accident. A massive
|
||||
@@ -44,7 +44,7 @@ purposed function is provided: "applet_reserve_svcctx()". This function will
|
||||
require the caller to indicate how large an area it needs, and will return a
|
||||
pointer to this area after checking that it fits. If it does not, haproxy will
|
||||
crash. This is purposely done so that it's known during development that if a
|
||||
small structure doesn't fit, a differnet approach is required.
|
||||
small structure doesn't fit, a different approach is required.
|
||||
|
||||
As such, for the vast majority of commands, the process is the following one:
|
||||
|
||||
|
||||
@@ -573,5 +573,5 @@ CONFIG_HAP_POOL_CLUSTER_SIZE
|
||||
This allows one to define the maximum number of objects that will be
|
||||
groupped together in an allocation from the shared pool. Values 4 to 8
|
||||
have experimentally shown good results with 16 threads. On systems with
|
||||
more cores or losely coupled caches exhibiting slow atomic operations,
|
||||
more cores or loosely coupled caches exhibiting slow atomic operations,
|
||||
it could possibly make sense to slightly increase this value.
|
||||
|
||||
Reference in New Issue
Block a user