1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-30 00:00:11 +01:00
Commit graph

226 commits

Author SHA1 Message Date
Georg Reinke
1b33861528 memtype-managed: correctly merge free blocks 2017-03-28 13:09:57 +02:00
Georg Reinke
1fd368d360 fix possible underflow in memory manager 2017-03-28 12:52:21 +02:00
Georg Reinke
25c7952cff memtype-managed: fix some alignment / edge cases 2017-03-28 11:30:57 +02:00
Georg Reinke
fee29436b0 implement managed memtype 2017-03-27 13:22:54 +02:00
b89b30ffe1 fixes several segfaults in websocket node-type due to improper connection establishment / tear-down (see #71, #72 & #73) 2017-03-16 22:42:58 -03:00
f8deb04186 Revert "show error message in make if dependencies are missing"
This reverts commit 4dbaff19a8593f97609cfc07aa3c2073c683089c.
2017-03-09 13:30:30 -03:00
a9771ec8c6 Merge branch 'develop' into eric-lab 2017-03-09 13:30:19 -03:00
9dab1202ee Merge remote-tracking branch 'rwth/develop' into develop 2017-03-09 13:24:19 -03:00
9ea0cbcbef fixes segfault when starting villas-node with websocket node 2017-03-08 09:53:28 -03:00
04b999b2e9 show error message in make if dependencies are missing 2016-12-23 17:21:54 +01:00
Umar Farooq
66d184589b Ceil queue size to power of 2 2016-12-22 19:24:37 +01:00
1dba01a8ae Re-license source code to LGPLv2.1 (closes #56) 2016-11-22 11:14:25 -05:00
c84df390bc renamed hook related files 2016-11-20 13:11:37 -05:00
a93952aaae statistics are almost working again 2016-11-20 13:01:17 -05:00
b37d3df332 moved cfg_parse_{hook, node, path} to {hooks, node, path}.c 2016-11-20 12:59:37 -05:00
cbaf8d40b3 remove HOOK_STATS as it is only used once in the codebase 2016-11-20 03:47:41 -05:00
671e964d43 only call HOOK_DESTROY callback if hook supports it 2016-11-20 03:46:53 -05:00
8240bf52c9 fixed debug output: incorrect number of released samples 2016-11-20 03:44:51 -05:00
b9d5bccb57 improved debug outputs for paths 2016-11-20 03:40:23 -05:00
bfec0b2f00 added missing implementation for aligned memory allocator 2016-11-20 03:02:19 -05:00
0f7bd02e41 fix: initialize hooks only if required 2016-11-20 02:50:12 -05:00
4bb0aa76c9 increase number of reserved huge pages automatically if required 2016-11-20 02:45:16 -05:00
90e973ce37 fix memory allocation bug discovered by CI :-) 2016-11-08 00:36:04 -05:00
f50e449373 refactoring in the stats system to fix some compiler errors 2016-11-08 00:27:28 -05:00
baaa809b90 remove STATS_INVALID as it is too specific for the socket node-type 2016-11-08 00:26:56 -05:00
1d3bb7c730 some cleanups in the hook system 2016-11-08 00:26:06 -05:00
fab53b0302 further steps to implement websocket client functionality 2016-11-08 00:24:57 -05:00
15e7e78e04 mark samples with source node 2016-11-07 22:20:09 -05:00
9e13b06a59 get first working version of web socket node-type with MPMC queues 2016-11-07 22:19:30 -05:00
735f08f551 more improvements to make statistic subsystem extensible 2016-11-07 22:18:26 -05:00
b23484550f major rewrite with MPMC queues 2016-11-07 22:17:45 -05:00
Umar Farooq
21f5ca3dff Merge branch 'gtnet_features' into 'develop'
Endianess setting for GTNET-SKT header

Hi there,

I did a bit of rework on Umar's work.

This unveiled some more severe bugs (my faults).
So, I am quite happy that this kind of code review helps everybody :-)

As last time, I assign this MR to @umar.farooq. Have a look over it, and merge if you are happy.

See merge request !8
2016-11-07 14:56:59 +01:00
3d22238976 make pool initialisation more robust by allowing non-pow2 pool sizes (we will use the next bigger power-of-2 for the internal queue) 2016-10-30 23:01:14 -04:00
287e5727fb fix block size calculation for memory pool 2016-10-30 23:00:17 -04:00
248a6638da these hooks do not use HOOK_{INIT,DEINIT} to lets return early to not fail the assertion 2016-10-30 22:57:58 -04:00
3d694cf4d9 add possibility to print histogram in different verbosity levels 2016-10-30 22:56:41 -04:00
c0d5bbb47b add a couple of NULL pointer checks for bucket-less histograms 2016-10-30 22:55:12 -04:00
693329cb68 use hist_cnt_t throughout the histogram code 2016-10-30 22:54:20 -04:00
510aec7630 added constructor and destructor methods to hook_storage() management 2016-10-30 22:52:33 -04:00
fe90cce778 Merge branch 'gtnet_features' into feature-mpmc-queue 2016-10-30 22:05:46 -04:00
3e93dfe17c Merge branch 'develop' into feature-mpmc-queue 2016-10-30 21:42:28 -04:00
7baffe66c0 move munmap() workaround to from unit test to memory_free_hugepage() 2016-10-30 20:00:09 -04:00
d50f5ea694 added unit tests for utils 2016-10-30 20:00:09 -04:00
8926685aaf beautify debug outputs 2016-10-30 17:11:40 -04:00
d6e4ab5d2f severe bug fix: msg_swap() did not correctly swapped the values (just the header) 2016-10-30 17:11:12 -04:00
7dec04edfc added new setting to example config, updated documentation 2016-10-30 17:10:20 -04:00
1bcd0f9ae2 moved "endian" setting to socket node-type: other node-types do not have the sense of endianess (e.g. file node-type) 2016-10-30 16:58:45 -04:00
c8d6c63d95 bug fix: handle failed allocation of huge pages correctly (returns MAP_FAILED instead of NULL) 2016-10-30 16:54:39 -04:00
d0c72c06ea added missing include for LOG2_CEIL() 2016-10-30 16:52:11 -04:00
893c723385 readded check for correct queue size (accidentally removed) 2016-10-30 15:39:05 -04:00