Submissions for 2.4.19-pre [slab estimate optimization (Balbir Singh)]

Submissions for 2.4.19-pre [slab estimate optimization (Balbir Singh)]

Post by Michael Cohe » Wed, 27 Feb 2002 11:10:16



This is the fifth of several mails containing patches to be included in 2.4.19.  Some are worthy of dicussion prior to inclusion and have been marked as such.  The majority of these patches were found on lkml; the remaining ones have URLs listed.

This one originated on lkml some months ago.

------
Michael Cohen
OhDarn.net

--- linux-*/mm/slab.c      Sun Jan 13 18:02:18 2002

                base = sizeof(slab_t);
                extra = sizeof(kmem_bufctl_t);
        }
-       i = 0;
+       i = (wastage - base)/(size + extra);
        while (i*size + L1_CACHE_ALIGN(base+i*extra) <= wastage)
                i++;
-       if (i > 0)
+       while (i*size + L1_CACHE_ALIGN(base+i*extra) > wastage)
                i--;

        if (i > SLAB_LIMIT)
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://www.veryComputer.com/
Please read the FAQ at  http://www.veryComputer.com/

 
 
 

1. Submissions for 2.4.19-pre [Rage128 Device ID]

This is the first of several mails containing patches to be included in 2.4.19.  Some are worthy of dicussion prior to inclusion and have been marked as such.  The majority of these patches were found on lkml; the remaining ones have URLs listed.

------
Michael Cohen
OhDarn.net

diff -Nru linux-2.4.19-pre1/drivers/video/aty128fb.c linux-patched/drivers/video/aty128fb.c
--- linux-2.4.19-pre1/drivers/video/aty128fb.c  Mon Feb 25 14:38:07 2002

     {"Rage128 Pro PF (AGP)", PCI_DEVICE_ID_ATI_RAGE128_PF, rage_128_pro},
     {"Rage128 Pro PR (PCI)", PCI_DEVICE_ID_ATI_RAGE128_PR, rage_128_pro},
     {"Rage128 Pro TR (AGP)", PCI_DEVICE_ID_ATI_RAGE128_U3, rage_128_pro},
+    {"Rage128 Pro TF (AGP)", PCI_DEVICE_ID_ATI_RAGE128_U1, rage_128_pro},
     {"Rage Mobility M3 (PCI)", PCI_DEVICE_ID_ATI_RAGE128_LE, rage_M3},
     {"Rage Mobility M3 (AGP)", PCI_DEVICE_ID_ATI_RAGE128_LF, rage_M3},
     {NULL, 0, rage_128}
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in

More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

2. Setting Timezones on Solaris

3. Submissions for 2.4.19-pre [sdmany (Richard Gooch)] [Discuss :) ]

4. Can't get this shit to boot....

5. Submissions for 2.4.19-pre [Pollselect Speedups (Manfred Spraul)]

6. Binding Oracle to two CPU's in a four CPU Sun Solaris 8 system........

7. Submissions for 2.4.19-pre [RivaFB Blanking Fix (Author Unknown)]

8. a question for netadm guru's

9. 2.4.19-rc2 -> 2.4.19-rc3 : no more eth (fwd)

10. 3Ware ok 2.4.19, dies 2.4.19-ac4

11. Promise 20267 hangs with 2.4.19-pre3 and 2.4.19-pre3-ac3

12. 2.4.19-pre6aa1 (possible all kernel after 2.4.19-pre2) athlon PCI workaround

13. Kernel panic 2.4.19-pre6 AND 2.4.19-pre5-ac3 - More info - ksymoops