https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=209475

--- Comment #10 from fehmi noyan isi <fnoyan...@yahoo.com> ---
(In reply to Kristof Provost from comment #9)
Hi Kristof,

>>> There are no guarantees that the memory would not be allocated for 
>>> something else.

If my interpretation of your comment is correct (and if not please correct me),
you mean one should perform the memory check against the "free" memory rather
than the installed memory, which is hw.physmem in this case.

However, I could not find any sysctl tunables that I can get the correct amount
of free memory directly. Looking at top(1) source code, it requires extensive
calculations to come up with the amount of wired, free or active memory.

Sticking with hw.physmem was the best option I could think of. Any other
suggestions are welcome, so that I can work it out...

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
freebsd-pf@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-pf
To unsubscribe, send any mail to "freebsd-pf-unsubscr...@freebsd.org"

Reply via email to