Bug 148339 - net-mgmt/net-snmp: inactive memory not counted as cached memory
Summary: net-mgmt/net-snmp: inactive memory not counted as cached memory
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Sylvio Cesar Teixeira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-03 14:00 UTC by Helmut Schneider
Modified: 2015-02-20 14:53 UTC (History)
0 users

See Also:


Attachments
file.diff (2.13 KB, patch)
2010-07-03 14:00 UTC, Helmut Schneider
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Schneider 2010-07-03 14:00:03 UTC
According to http://www.net-snmp.org/docs/CHANGES.html (PATCH 1879261) inactive memory should be treated as cached memory instead of used memory. Actually this does not happen in the current port for what every reason.

My C knowledge is very little so feel free to improve/correct my patch.

Fix: Patch attached with submission follows:
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2010-07-03 14:00:43 UTC
Responsible Changed
From-To: freebsd-ports-bugs->sylvio

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2010-07-04 15:44:31 UTC
sylvio      2010-07-04 14:44:16 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/net-snmp    Makefile 
    net-mgmt/net-snmp/files patch-memory_freebsd.c 
  Log:
  - Fixed inactive memory should be treated as cached memory instead of used memory.
  - BUMP PORTREVISION
  
  PR:             ports/148339
  Submitted by:   Helmut Schneider <jumper99@gmx.de>
  Feature safe:   yes
  
  Revision  Changes    Path
  1.185     +1 -1      ports/net-mgmt/net-snmp/Makefile
  1.6       +11 -7     ports/net-mgmt/net-snmp/files/patch-memory_freebsd.c
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Sylvio Cesar Teixeira freebsd_committer freebsd_triage 2010-07-04 15:44:36 UTC
State Changed
From-To: open->closed

Committed. Thanks!
Comment 4 commit-hook freebsd_committer freebsd_triage 2015-02-20 14:53:00 UTC
A commit references this bug:

Author: zi
Date: Fri Feb 20 14:52:03 UTC 2015
New revision: 379435
URL: https://svnweb.freebsd.org/changeset/ports/379435

Log:
  - Bring back lost patch to fix memory usage calculations
  - Bump PORTREVISION

  PR:		148339

Changes:
  head/net-mgmt/net-snmp/Makefile
  head/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c