Don't show free blocks as leaked.
[rsc] --rw-rw-r-- M 187561 glenda sys 5952 Sep 16 10:09 sys/src/cmd/aux/acidleak.c
/n/sourcesdump/2005/0916/plan9/sys/src/cmd/aux/acidleak.c:271,277 -
/n/sourcesdump/2005/0917/plan9/sys/src/cmd/aux/acidleak.c:271,277
else
nhdr++;
}
- if(b->mark == 0)
+ if(b->mark == 0 && !b->free)
nleak++;
nb++;
}
[sys] --rwxrwxr-x M 187561 glenda sys 69436 Sep 16 23:07 386/bin/aux/acidleak
/sys/src/cmd/aux/acidleak.c:main
Add a couple SATA controllers.
[jmk] --rw-rw-r-- M 187561 glenda sys 51396 Sep 16 17:26 sys/src/9/pc/sdata.c
/n/sourcesdump/2005/0916/plan9/sys/src/9/pc/sdata.c:1868,1873 -
/n/sourcesdump/2005/0917/plan9/sys/src/9/pc/sdata.c:1868,1875
case (0x4D69<<16)|0x105A: /* Promise Ultra/133 TX2 */
case (0x3373<<16)|0x105A: /* Promise 20378 RAID */
case (0x3149<<16)|0x1106: /* VIA VT8237 SATA/RAID */
+ case (0x3112<<16)|0x1095: /* SiL 3112 SATA (DMA busted?) */
+ case (0x3114<<16)|0x1095: /* SiL 3114 SATA/RAID */
pi = 0x85;
break;
case (0x0004<<16)|0x1103: /* HighPoint HPT366 */
[jmk] --rw-rw-r-- M 187561 glenda sys 38224 Sep 16 17:26 sys/src/boot/pc/sdata.c
/n/sourcesdump/2005/0916/plan9/sys/src/boot/pc/sdata.c:1465,1470 -
/n/sourcesdump/2005/0917/plan9/sys/src/boot/pc/sdata.c:1465,1472
case (0x4D69<<16)|0x105A: /* Promise Ultra/133 TX2 */
case (0x3373<<16)|0x105A: /* Promise 20378 RAID */
case (0x3149<<16)|0x1106: /* VIA VT8237 SATA/RAID */
+ case (0x3112<<16)|0x1095: /* SiL 3112 SATA (DMA busted?) */
+ case (0x3114<<16)|0x1095: /* SiL 3114 SATA/RAID */
pi = 0x85;
break;
case (0x0004<<16)|0x1103: /* HighPoint HPT-370 */
[jmk] --rwxrwxr-x M 187561 glenda sys 310558 Sep 16 23:09 386/9loaddebug
[jmk] --rwxrwxr-x M 187561 glenda sys 198805 Sep 16 23:09 386/9loadlitedebug
|