Skip to content

Fix FreeBSD memory usage - #30

Merged
thewtex merged 1 commit into
thewtex:masterfrom
tony:freebsd-memory
Jan 9, 2016
Merged

Fix FreeBSD memory usage#30
thewtex merged 1 commit into
thewtex:masterfrom
tony:freebsd-memory

Conversation

@tony

@tony tony commented Jan 9, 2016

Copy link
Copy Markdown
Contributor

Total memory would go out of bounds for machines ~ > 3.5gB of
memory due to the limit of what u_int can hold.

Use getpagesize() and bitshift pagesize so it fits.

See also: #29

Total memory would go out of bounds for machines ~ > 3.5gB of
memory due to the limit of what u_int can hold.

Use ``getpagesize()`` and bitshift pagesize so it fits.

See also: thewtex#29
@thewtex

thewtex commented Jan 9, 2016

Copy link
Copy Markdown
Owner

LGTM. Thanks for the contribution!

thewtex added a commit that referenced this pull request Jan 9, 2016
@thewtex
thewtex merged commit 9ad57c9 into thewtex:master Jan 9, 2016
@tony
tony deleted the freebsd-memory branch January 10, 2016 01:07
dev-hann added a commit to dev-hann/tmux-mem-cpu-load that referenced this pull request Sep 18, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants