[RTEMS Project] #4664: JFFS heap allocations can fragment the heap

RTEMS trac trac at rtems.org
Sat Jun 11 01:45:37 UTC 2022


#4664: JFFS heap allocations can fragment the heap
--------------------------+------------------------
  Reporter:  Chris Johns  |      Owner:  (none)
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:  Indefinite
 Component:  fs/jffs2     |    Version:  6
  Severity:  normal       |   Keywords:
Blocked By:               |   Blocking:
--------------------------+------------------------
 Writing large blocks of data to a JFFS file can fragment the heap. A
 recent performance change to untar has exposed this issue.

 The JFFS write creates a caches various nodes as it works. The code also
 allocates io vec buffers to hold data blocks greater than 256 bytes.

 A review does not seem to point to a leak but I am not 100% sure.

--
Ticket URL: <http://devel.rtems.org/ticket/4664>
RTEMS Project <http://www.rtems.org/>
RTEMS Project


More information about the bugs mailing list