Bug 198395 - hwpmc mips24k locks 4MB RAM
Summary: hwpmc mips24k locks 4MB RAM
Status: New
Alias: None
Product: Base System
Classification: Unclassified
Component: kern (show other bugs)
Version: 10.0-STABLE
Hardware: mips Any
: --- Affects Some People
Assignee: freebsd-bugs (Nobody)
Depends on:
Reported: 2015-03-07 19:53 UTC by Wojciech Puchar
Modified: 2015-03-07 19:53 UTC (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Wojciech Puchar 2015-03-07 19:53:09 UTC

options         HWPMC_HOOKS
device          hwpmc
device          hwpmc_mips24k

on some MIPS targets are default on. For example TPLINK TL-WR1043NDv1 router.

This options are not needed for normal operation, but takes 4MB wired memory. This makes large difference with 32MB RAM total.

No idea if such large RAM usage is normal. But i simply remove them, and i think it should not be put in default kernels.