Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
PRODKERNEL: optimize diff processing
During kpatch-build's orig-vs-patched comparison pass: - ignore unchanged objfiles, which may have been rebuilt, but built identically. Perhaps whitespace change, or an included file changed, but in ways that do not affect the code generated in _this_ object - when $SYMTAB is still current, do not recreate - create symtabs in kpatch temp dirs, not kernel tree As they're not .gitignore'd, they would create worrysome clutter - allow symtab creation in missing directories, with mkdir -p These avoid needless kpatch failures & slowdowns, where a change has implications outside diff footprint, like *.h that cause many files to rebuild, without change to objects, and in parts of the tree far removed from the source files actually patched Tested: by t314, which changes ipv6.h, causing hundreds of modules to rebuild, with no actual code change Upstream-Plan: 190514358 Signed-off-by: Pete Swain <[email protected]>
- Loading branch information