<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugzilla.yoctoproject.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugzilla.yoctoproject.org/"
          
          maintainer="it-coreprojects-helpdesk@linuxfoundation.org"
>

    <bug>
          <bug_id>10014</bug_id>
          
          <creation_ts>2016-07-24 18:29:58 +0000</creation_ts>
          <short_desc>linux-yocto: __lru_cache_add memory leak in krogoth 4.1.28 kernel</short_desc>
          <delta_ts>2016-07-28 19:13:52 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>11</classification_id>
          <classification>Runtime</classification>
          <product>General Runtime</product>
          <component>General Runtime</component>
          <version>2.1</version>
          <rep_platform>x86</rep_platform>
          <op_sys>Multiple</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>Medium</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>2.1.2</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Chris Sykes">chris</reporter>
          <assigned_to name="Armin Kuster">akuster</assigned_to>
          
          
          
          <cf_os>---</cf_os>
          <cf_regression_type>---</cf_regression_type>
          
          <cf_docchange>No (bug/feature does not impact docs)</cf_docchange>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>64399</commentid>
    <comment_count>0</comment_count>
    <who name="Chris Sykes">chris</who>
    <bug_when>2016-07-24 18:29:58 +0000</bug_when>
    <thetext>At the end of last week I hit a known kernel memory leak in the linux-yocto
4.1 branch as delivered in 2.1 / krogoth.  It rather quickly results in an
OOM kernel panic on my platform.

The patch below fixed the problem for me:
http://www.spinics.net/lists/stable/msg138760.html

It&apos;s already queued for 4.1.29, but raising this bugzilla as I thought it
might be worth expediting a fix for 2.1.

Preconditions/Environment
-------------------------
linux-yocto 4.1.28 from 2.1 / krogoth.

Triggering Action/Cause
-----------------------
Just boot the kernel, exhibits even with just a serial console &amp; init=/bin/sh.

Expectation
-----------
No memory leaks.

Actual Result
-------------
Monitoring nr_free_pages in /proc/vmstat shows a steady decline, with no obvious culprit.

Reproducibility
---------------
1/1.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>64609</commentid>
    <comment_count>1</comment_count>
    <who name="Chris Sykes">chris</who>
    <bug_when>2016-07-28 19:13:52 +0000</bug_when>
    <thetext>Bruce Ashfield has now pulled the fix for this into the linux-yocto 4.1 branch, and I&apos;ve verified it (the patch) does the job for me.

I guess I can say this is resolved now.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>