------=_NextPart_000_0073_01BEB3F7.5B2073A0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Hi guys,
I've done a global patch to kernel 2.3.5 that include my new
schedule() implementation ( try it, gives great benchmarks ! )
and the new implementation of semaphore "up" semantics
( THX to V.Ganesh to have pointed me to the right place to add my code ).
This new code call the new __sem_wake_up() to release only the best task.
This night I'll code a test program that creates N threads competing for
a semaphore with init count equal to 1, and I'll post it on linux-kernel
as long as benchmarks results.
With this email I include the patch and the threads.c ( THX to Willy
Terreau )
program to test the new scheduler ( please report me Your opinion ).
Good work to everyone, cheers,
Davide.
-- "Debian, the Freedom in Freedom"
------=_NextPart_000_0073_01BEB3F7.5B2073A0 Content-Type: application/octet-stream; name="patch-dl01.diff.bz2" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="patch-dl01.diff.bz2"
QlpoOTFBWSZTWdHDeswADNTfgHw0ef///////96/7//+YBM8Bi+aOlUw1qlrW1uW7HRlO7549D09 dVqTRQ0Ohp01VHRnbIlWmgHhiQjSmxTYgmmmT0ppk0wJtJoDJp6g0DQAA0AlBGhNNFNU/JpR5J6a Tam1NqNMjIaND1BkANAaAaDgyDRoAyaYhpoMgxDCBoDRiYjQAACTSU0hNVPYJqT9FPUPNU9QzKaG Q0ZAGg0AAADBJJRPKeo0yGjQ0NAMgNDEyaYQMgNNANNGagJERNNCGhABMp4mkMUxpPUNNNMUyPU0 bSDT1GE9DUIcQZJJ19njZJFXZA7R1F+Cm2FmmVwWUoJjRUG3DJTBLjKolrmJWUqWrZflm819zhdx nA4ZjMPRZjB8vHXp+7o32n7PiFOOvFvd0LFRIxEB52siOINxmZC1MtMCmODhCwpbWmZCuMaMjVoi FrlcMRMLBFP/a5zn7b8er2H8tevnz3t/FnF56vBTLCoIq5tijws6GYyQrqC/fOUifl82I/dujMCn 2C6umHdTYTaSA+rKaPpW1ZUoqqyLHiaslZV4Iv+JA8yqlbWSJQ7u47JZekWQs6tfM1GR0dQlCMXU xe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QUSzEYjSHddsi2i6WvlAYurkCNrUDNpfXSImSnfvXIYqhuAuzhywtK4 DT3hl5PduqR+jQQgxGhgEm0ZxCDCxU9R9s4mE6kPBFTCG8wOuZynXCQsSHmjOm3uDpVg+XkHH7CU OSdftO1zsEYjT0Aa/YzTEERWLGLYMaGgcLSpeVHNlsLIdMD2+2EqcBBbCe9NoNZEsE6Ny9sPwiyb b4g8iVm8J7MdCw3hg9JQisos2NCvJ/AZkEkkqYFktRWpE0iLFEcnE1vMQVySEjMVI9AIbIFRBBnJ U4wKTJbnmF1ikqAFEk2jU4yiGJHaNVSC6LozYPYOIYXbn0prCVE9GXciDeJAOCTuYbI60hbsVXjq Vq1nkB8JYzGdsEICjY220MGHDMs6zQlIFoYB5DboDwIGM6E+BCypRVxZA0GwUU1G/jWSVjVIFvDF IbSR4iAy39XAO1IOT2B8mf9xMQWuLnUgLjyqiKI2sqpz6A2AY9u0jbAFuLGdIBoklgqHwswGgoqS NIa6CVQ7Cdf3WIN6fhE+OBCR1dcAcWiiTWbC7X12CMKFzbta7wUJh6IDyGUBpJHbi+hhSR9wdcc8 2oVq+vpzQthc3bmCYzwGwYWAYhYl4jkDVm0WQPiaK3wOiXD/F3JFOFCQ0cN6zA==
------=_NextPart_000_0073_01BEB3F7.5B2073A0 Content-Type: application/x-gzip; name="threads.c.gz" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="threads.c.gz"
H4sICKKFXjcAA3RocmVhZHMuYwCdVm1v2zYQ/lz9ikuKNJJf5HhYh6VOgmZtsAVLlqFx0Q1LYNAS ZROhSI2i7LpB/vuOpF4dB9jGD5Z1JO+e5+7hUaOeBzCluaYKEqlALyk8UCUoP8whzyiNgQnIoyWN C87EIsTl/ocAxsfHxzCCL4zzDUyJUpQUcLI2r+9TqsnwayjV4szD5dcyZglDR/MNfCQrFlO4YnMq vjE4ie07f58SzSISh0zjFtzzpywgIgJiCesl0XSF8DZoWxOhYc30EoGyHDIlF4qkA5gXGi4PUxBS 425F80y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ymzpazPI7svm9BOcnDzK+zdiS+E2ZLZDwbOm1tNlqIyBawaRiWz cadbtASF6W1K/ULvqfOBDWHdjg5zZj8NMMqccaY3pjvsBv+zNNhrXJXex835QWnkNWwbvn2BbG/s HpSuG7v4f6jWHaH+aacik46ou7XqSNOMfr/Ta8omWbYRhOGeoxaO1tkdnYLpkgHeDkliqWj84NHV CSxbHFSr/GfOqhz9N9bbfQ2jr0zj8N1EsEV6WPMJ2heHazeYO7e9556d8/BcfGft/O2670oV7R/E d/pOH3Dunu3fBFXValeDsqHXN0LVKbsNucQ7wjZV0Ww+a3pNyZq/QYWpvtnwavsHVqdeppYMAAA=
------=_NextPart_000_0073_01BEB3F7.5B2073A0--
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/