[v26.03.3] Add support for kernel 7.0 and Ubuntu 26.04#1774
Open
robertbaldyga wants to merge 5 commits into
Open
[v26.03.3] Add support for kernel 7.0 and Ubuntu 26.04#1774robertbaldyga wants to merge 5 commits into
robertbaldyga wants to merge 5 commits into
Conversation
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Since 5.18 vmalloc automatically allocates from highmem when possible, therefore this flag is not necessary and on newer kernels there is a warning generated if caller passes __GFP_HIGHMEM. Since kernels older than 5.18 still need it, simply mask it out in the configure wrapper for pgprot-less variant. Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
- Remove preemptive kernel check and warning/error messages. - Disable preemption for per-cpu sections. - Since on preemptive kernel an I/O thread can be preempted and rescheduled to some other CPU at any moment, select the queue opportunistically, based on the current CPU at the moment queue selection, without preemption blocking. Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
cas_lib.c:335:23: error: assignment discards ‘const’ qualifier
from pointer target type [-Werror=discarded-qualifiers]
335 | delim = strchr(p, ',');
| ^
Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
Most modern distros already switched to usrmerge. It's safer and follows the current best practices to use /usr/lib. Signed-off-by: Robert Baldyga <robert.baldyga@unvertical.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.