Revert re-addition of purge_lock.

Linux kernels have been capable of concurrent page table access since
2.6.27, so this hack is not necessary for modern kernels.
This commit is contained in:
Jason Evans
2010-04-08 20:31:58 -07:00
parent 68f91893bd
commit 799ca0b68d
2 changed files with 48 additions and 39 deletions

View File

@@ -318,9 +318,12 @@ struct arena_s {
size_t ndirty;
/*
* True if pages are currently being purged by a thread.
* Approximate number of pages being purged. It is possible for
* multiple threads to purge dirty pages concurrently, and they use
* npurgatory to indicate the total number of pages all threads are
* attempting to purge.
*/
bool purgatory;
size_t npurgatory;
/*
* Size/address-ordered trees of this arena's available runs. The trees