Skip to content

remove read lock from ossl_method_store cache #1940

@nhorman

Description

@nhorman

The query cache on every lookup takes a read lock, which despite being on the read side, still pollutes the cpu cache, as the read lock writes to the lock space to update the reader count. We can improve this by:

Replacing the method store cache with a series of atomically accessed linked lists
removing the read lock

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No fields configured for Bug.

Projects

Status

Waiting Review

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions