-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Do not store pointers in shared memory
Keeping pointers to nodes and active list in shared memory was my bad idea. Although it works, because child processes inherit shared memory mapped at the same address as parent that allocated aformentioned shmem, this excludes usage of shmem by other processes (ie. prospective upload progress cache browser) Shared memory block is "partitioned" manually without use of apache rmm interface (pointer arithmetic is easy ;-) Signed-off-by: Michał Pokrywka <michal.pokrywka@gmail.com>
- Loading branch information
Showing
1 changed file
with
17 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters