#
8a0c9d52 |
|
10-Aug-2019 |
Augustin Cavalier <waddlesplash@gmail.com> |
OS: Rename B_USER_CLONEABLE_AREA to B_CLONEABLE_AREA. It now lives in OS.h. The idea is that this will now be accessible to userland applications, so userland memory is protected from access by other processes, just as kernel memory is. No functional change (the constants are still the same, though I've changed some to use shifts to make clear which bits are allocated are which are unused.)
|
#
81007175 |
|
10-Mar-2019 |
Adrien Destugues <pulkomandy@pulkomandy.tk> |
BytePointer: address Axel's post-merge comments These changes had been on review on Gerrit for a few weeks, why do the comment come only after they were merged? Change-Id: I54064973e08b8b4dc0624f4c09c7cafb7f04e437 Reviewed-on: https://review.haiku-os.org/c/1185 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
995aabb0 |
|
23-Feb-2019 |
PulkoMandy <pulkomandy@pulkomandy.tk> |
MessagingService: use BytePointer Change-Id: If7890e215180206010a374b8afa9f4cd47325afc Reviewed-on: https://review.haiku-os.org/c/1099 Reviewed-by: waddlesplash <waddlesplash@gmail.com>
|
#
1e6dd3fe |
|
24-Apr-2015 |
Murai Takashi <tmurai01@gmail.com> |
Fix GCC 5 maybe-uninitialized warnings. Signed-off-by: Adrien Destugues <pulkomandy@pulkomandy.tk> Fixes #12020
|
#
3066f3db |
|
15-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Reverted r33547, this closes bug #4782 - this is obviously a regression in GCC4. * Adapted code accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33592 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b74a0983 |
|
12-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Got rid of the duplicated functionalities provided by RWLocker.cpp, and Locker.cpp. * The services are now using recursive_locks, and rw_locks instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33548 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
289b6c8d |
|
13-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
Remove invalid TODO. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29504 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f528e1ad |
|
06-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
Fix two more problems in the messaging service: 1) When searching the area for a place to allocate the next command, the case of the first command being the same as the last command (as is the case after adding the first message) was not correctly considered. This prevented a given area from ever containing more than one command. 2) The size of a command was incorrectly word-aligned. Rather than aligning to 32-bit boundaries, the size was truncated to between 1-3 bytes, leading to command corruption once multiple messages were in the area, eventually causing registrar to crash while retrieving the messages. Combined these two changes result in us no longer constantly allocating/destroying areas during heavy node monitor activity. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
58336b68 |
|
05-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
Add a TODO note. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29412 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75d1cb28 |
|
05-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
The loop that looks for the next area to add a message to has a somewhat fatal flaw: it checks for a non-zero area size (which is always set to the physical size of the area rather than the number of message commands stored within it). As a consequence, areas would never get cleaned up once allocated, which lead the kernel to steadily bleed memory if any reasonable level of node monitoring activity was going on. We now check whether or not the area's command count is non-zero instead, and use that as the criteria for selection. Fixes ticket #3518. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29411 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8f9741c |
|
04-Jul-2008 |
Michael Lotz <mmlr@mlotz.ch> |
* Removed -Wno-unused from all KernelMergeObjects in kernel Jamfiles. * Fixed most of the warnings resulting from that by removing actually not used variables or moving declaration into the #IF. Left unused functions there though, as I wouldn't know if they are supposed to be used again. * Fixed two statements with no effect (clamping to MAX_ANCILLARY_DATA_LEN in socket.cpp and unsetting fCounterSem in MessagingService.cpp). * Some style cleanups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26253 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1462a082 |
|
24-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Reordered the functions (private -> public). No functional change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25637 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d690920 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed system/core to system/kernel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
3066f3dbf87e3b5a9ea12f7e81ded55f6d6f2bd9 |
|
15-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Reverted r33547, this closes bug #4782 - this is obviously a regression in GCC4. * Adapted code accordingly. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33592 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
b74a098352bb66534c12aafafff5ce813fbf905b |
|
12-Oct-2009 |
Axel Dörfler <axeld@pinc-software.de> |
* Got rid of the duplicated functionalities provided by RWLocker.cpp, and Locker.cpp. * The services are now using recursive_locks, and rw_locks instead. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@33548 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
289b6c8d560c0856b42fdd0acbec996b56d27c24 |
|
13-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
Remove invalid TODO. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29504 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
f528e1ad7abcdf2b4a4d8c2075a52cc52f658211 |
|
06-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
Fix two more problems in the messaging service: 1) When searching the area for a place to allocate the next command, the case of the first command being the same as the last command (as is the case after adding the first message) was not correctly considered. This prevented a given area from ever containing more than one command. 2) The size of a command was incorrectly word-aligned. Rather than aligning to 32-bit boundaries, the size was truncated to between 1-3 bytes, leading to command corruption once multiple messages were in the area, eventually causing registrar to crash while retrieving the messages. Combined these two changes result in us no longer constantly allocating/destroying areas during heavy node monitor activity. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29417 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
58336b68a9969dc866e26e54327eb6f0b6ca6334 |
|
05-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
Add a TODO note. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29412 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
75d1cb286f381c2255293cc0fb78d50454887e19 |
|
05-Mar-2009 |
Rene Gollent <anevilyak@gmail.com> |
The loop that looks for the next area to add a message to has a somewhat fatal flaw: it checks for a non-zero area size (which is always set to the physical size of the area rather than the number of message commands stored within it). As a consequence, areas would never get cleaned up once allocated, which lead the kernel to steadily bleed memory if any reasonable level of node monitoring activity was going on. We now check whether or not the area's command count is non-zero instead, and use that as the criteria for selection. Fixes ticket #3518. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29411 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
a8f9741c8c2815234e87b78167738057b976b537 |
|
04-Jul-2008 |
Michael Lotz <mmlr@mlotz.ch> |
* Removed -Wno-unused from all KernelMergeObjects in kernel Jamfiles. * Fixed most of the warnings resulting from that by removing actually not used variables or moving declaration into the #IF. Left unused functions there though, as I wouldn't know if they are supposed to be used again. * Fixed two statements with no effect (clamping to MAX_ANCILLARY_DATA_LEN in socket.cpp and unsetting fCounterSem in MessagingService.cpp). * Some style cleanups. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26253 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
1462a0827bc02f7c67313d15da8c20276e0d9863 |
|
24-May-2008 |
Ingo Weinhold <ingo_weinhold@gmx.de> |
Reordered the functions (private -> public). No functional change. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25637 a95241bf-73f2-0310-859d-f6bbb57e9c96
|
#
2d690920ac4d0cd27eb3c118fb2b0862615869e0 |
|
13-Apr-2005 |
Axel Dörfler <axeld@pinc-software.de> |
Renamed system/core to system/kernel. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@12360 a95241bf-73f2-0310-859d-f6bbb57e9c96
|