After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 749280 - allow EggCounter to grow map region for larger numbers of counters
allow EggCounter to grow map region for larger numbers of counters
Status: RESOLVED OBSOLETE
Product: gnome-builder
Classification: Other
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: GNOME Builder Maintainers
GNOME Builder Maintainers
Depends on:
Blocks:
 
 
Reported: 2015-05-12 20:32 UTC by Christian Hergert
Modified: 2018-01-11 09:48 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Christian Hergert 2015-05-12 20:32:46 UTC
Right now, we don't play well with counters that cause us to overlap our allocated page size.

Growing the shm_open()'d file-descriptor is easy (using ftruncate to zero things). However, we can't move the mmap regions at runtime, or we could cause faults by running counters.

Therefore, each additional page needs to be allocated individually, and that means we will not have contiguous pages.

To work around that issue, we can just avoid adding counters at locations that would cause them to overlap pages. The local and remove implementations need to be smart enough to avoid this. (Actually, the reader probably doesn't need any help since it does not refresh when new counters are added).
Comment 1 GNOME Infrastructure Team 2018-01-11 09:48:58 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to GNOME's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.gnome.org/GNOME/gnome-builder/issues/26.