Unusual memory usage with kernel 4.4.x & 4.9.x on i.MX28 EVK
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I've been trying to fix an unusual memory usage on i.MX28 EVK with the 4.4.x or 4.9.x kernel. The problem shows itself when i activate the eth interface, the used memory on the EVK increases slowly but constantly to reach to around 25Mbytes!
The memory usage is fine with the 3.16.x Kernel... is at about 18Mbytes.
I can't find anything with an unusual memory usage...
I am compiling my own kernel from kernel.org sources...
Has anyone else seen this? Is this a generic Linux bug or is it a ethernet specific bug? Any good ideas on how to fix this before I start digging into the code?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Please provide more detailed information to reproduce it.
How do you get the memory usage?
What is the network setup (i assume your EVK is really connected to network)?
Which kernel config do you use (mxs_defconfig)?
How long does it take to reach the 25 MB?
Did you try to enable CONFIG_DEBUG_KMEMLEAK in kernel?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Free, Top, ...
YES, the device is connected to network via switch.
The memory usage increases from 17M to 26M at about 30 minutes.
I use tx28_defconfig for TX28 KaRo CoM
I don't enable this option.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The tx28_defconfig isn't part of mainline linux. Are you sure about using a mainline kernel?
Do you plan to enable CONFIG_DEBUG_KMEMLEAK ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
TX28 is already supported in mainline kernel