OpenSolaris

Printable Version Enter a New Search
Bug ID 6344290
Synopsis enumerate_bus_devs produces small memory leak in snv_27 on all x86/amd64 platforms
State 10-Fix Delivered (Fix available in build)
Category:Subcategory kernel:boot-x86
Keywords
Responsible Engineer Dan Mick
Reported Against snv_27
Duplicate Of
Introduced In solaris_nevada
Commit to Fix snv_28
Fixed In snv_28
Release Fixed solaris_nevada(snv_28) , solaris_10u2(s10u2_05) (Bug ID:2132413)
Related Bugs 6345407
Submit Date 1-November-2005
Last Update Date 3-January-2006
Description
> ::findleaks -d 
 CACHE     LEAKED   BUFCTL CALLER
 d682e6f0       1 cfa6a3f0 AcpiOsAllocate+0x15
 d682e6f0       1 cfa834c8 AcpiOsAllocate+0x15
 d682e6f0       1 cfad7b88 AcpiOsAllocate+0x15
 d682e6f0       6 cfad7cf0 AcpiOsAllocate+0x15
 d682c6f0      11 d843ad10 enumerate_bus_devs+0x1ab
 ------------------------------------------------------------------------
    Total      20 buffers, 608 bytes

 kmem_alloc_16 leak: 11 buffers, 16 bytes each, 176 bytes total
             ADDR          BUFADDR        TIMESTAMP           THREAD
                             CACHE          LASTLOG         CONTENTS
         d843ad10         d845b3a0                0         fec1dae0
                          d682c6f0         d6f07acc         d769e898
                  kmem_cache_alloc_debug+0x256
                  kmem_cache_alloc+0x97
                  kmem_alloc+0x67
                  enumerate_bus_devs+0x1ab
                  pci_reprogram+0x5f
                  pci_enumerate+0x18
                  impl_bus_reprobe+0x18
                  configure+0x42
                  startup_end+0x39
                  startup+0x35
                  main+0x1e

update to the pci_boot.c has caused small memory leak in the
enumerate_bus_devs area on all x86/amd64 systems while testing
nightly ON bits for snv_27, there's 2 putbacks relating to this
file in recent days, ZFS made large change and also a smaller 
targeted fix relating to 1K alignment address allocation. Both
these were made on Oct 31st.

Cores can be locationed at:

/net/diablo.ireland/export/crash/snv_27-nightly/13908/*4*
.
Work Around
N/A
Comments
N/A