Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
U
unique-xids
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
uplex-varnish
unique-xids
Commits
f9848a68
Commit
f9848a68
authored
Feb 09, 2011
by
Poul-Henning Kamp
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Allocate the LRU list in the child process instead of the master
process.
parent
d0db0a59
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
stevedore.c
bin/varnishd/stevedore.c
+4
-3
No files found.
bin/varnishd/stevedore.c
View file @
f9848a68
...
@@ -377,12 +377,15 @@ STV_open(void)
...
@@ -377,12 +377,15 @@ STV_open(void)
struct
stevedore
*
stv
;
struct
stevedore
*
stv
;
VTAILQ_FOREACH
(
stv
,
&
stevedores
,
list
)
{
VTAILQ_FOREACH
(
stv
,
&
stevedores
,
list
)
{
stv
->
lru
=
LRU_Alloc
();
if
(
stv
->
open
!=
NULL
)
if
(
stv
->
open
!=
NULL
)
stv
->
open
(
stv
);
stv
->
open
(
stv
);
}
}
stv
=
stv_transient
;
stv
=
stv_transient
;
if
(
stv
->
open
!=
NULL
)
if
(
stv
->
open
!=
NULL
)
{
stv
->
lru
=
LRU_Alloc
();
stv
->
open
(
stv
);
stv
->
open
(
stv
);
}
}
}
void
void
...
@@ -477,8 +480,6 @@ STV_Config(const char *spec)
...
@@ -477,8 +480,6 @@ STV_Config(const char *spec)
stv
->
ident
,
stv
->
name
);
stv
->
ident
,
stv
->
name
);
}
}
stv
->
lru
=
LRU_Alloc
();
if
(
stv
->
init
!=
NULL
)
if
(
stv
->
init
!=
NULL
)
stv
->
init
(
stv
,
ac
,
av
);
stv
->
init
(
stv
,
ac
,
av
);
else
if
(
ac
!=
0
)
else
if
(
ac
!=
0
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment