Memory leak after resume from hibernate with RT kernel

Bug #856230 reported by Mooky
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux-rt (Ubuntu)
New
Undecided
Unassigned

Bug Description

I observed a memory leak after a resume from hibernate with RT kernel: /proc/slabinfo shows a growing count of mm_struct which causes the system to run out of memory after a day or more (Free LowMem decreases).
Sequence to reproduce the issue (on a new installation of Ubuntu Lucid with the RT kernel and the uswsusp package installed):
- monitor the mm_struct count using the command "watch -d -n 1 "cat /proc/slabinfo | grep mm_struct" -> stable
- hibernate the system using the command "sudo s2disk" (the issue also occurs when using s2ram)
- resume from hibernate
- monitor the mm_struct count using the command "watch -d -n 1 "cat /proc/slabinfo | grep mm_struct" -> growing

I did not reproduce this issue with the Lucid 2.6.32.33.39 generic kernel. I have also built (with the same config) the 2.6.31 kernel taken from kernel.org patched with the corresponding RT patch of Ingo Molnar: and following the same sequence I did not observe the issue. So it seems that this issue only occurs on the ubuntu kernel stream.

Description: Ubuntu 10.04 LTS
Release: 10.04
linux-image-2.6.31-11-rt:
  Installed: 2.6.31-11.154
  Candidate: 2.6.31-11.154
  Version table:
 *** 2.6.31-11.154 0
        500 http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Packages
        100 /var/lib/dpkg/status
uswsusp:
  Installed: 0.8-1.1ubuntu3
  Candidate: 0.8-1.1ubuntu3
  Version table:
 *** 0.8-1.1ubuntu3 0
        500 http://archive.ubuntu.com/ubuntu/ lucid/universe Packages
        100 /var/lib/dpkg/status

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.