-
Notifications
You must be signed in to change notification settings - Fork 9
Increased TSM-buffer size to 16 MiB #27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Increased TSM-buffer size to 16 MiB #27
Conversation
ChristianTackeGSI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
ChristianTackeGSI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good for now. :-)
I assume this was tested somewhat?
ChristianTackeGSI
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks good now!
We're at 8 commits. Please consider a rebase / squash / etc. and combine things into fewer commits?
TBH I don't know, what would be a good granularity, because after all its still only increasing and switching to malloc. All the rest is closely related cleanup / error checking, etc.
f37ffb7 to
fa47510
Compare
The TSM-buffer size was increased to 16 MiB. As a consquence of this the TSM buffer has to be allocated on the heap for ltsmc.c and common.c to prevent segmentation faults. A condition was added in function crc32file() for setting crc32result.
fa47510 to
303cfeb
Compare
The TSM-buffer size was increased to 16 MiB. As a consquence of this the TSM buffer has to be allocated on the heap for ltsmc.c and common.c to prevent segmentation faults.