Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Resize shared memory only when locking #1072

Merged
merged 4 commits into from
Mar 2, 2021
Merged

Commits on Feb 21, 2021

  1. Resize shared memory only when locking. This ensures all shm pointers…

    … are invariant inside locks.
    
    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    67801b8 View commit details
    Browse the repository at this point in the history
  2. Preallocate one pagesize (usually 4K) for per-client-regex data.

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    6512290 View commit details
    Browse the repository at this point in the history
  3. Reduce code-duplication by using an array of shared memory pointers w…

    …e can iterate on when chown-ing or deleteing.
    
    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    0463544 View commit details
    Browse the repository at this point in the history
  4. Fix incorrect printf format identifier

    Signed-off-by: DL6ER <dl6er@dl6er.de>
    DL6ER committed Feb 21, 2021
    Configuration menu
    Copy the full SHA
    06c7216 View commit details
    Browse the repository at this point in the history