-
Notifications
You must be signed in to change notification settings - Fork 11
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
ulp patches
skip livepatchable libraries
#159
Comments
One way of fixing this is by not limiting the number of symbols to 64. But that slows down |
The above graph was generated by simulating how many symbols |
Some libraries have up to 50.000 symbols, so limiting to 8000 may still have some speedups. |
libcrypto.so.1.1 required to read around 200 symbols in order for `patch` to detect it as a livepatchable library. Hence we bump the number of symbols to read from 64 to 8000. This value of 8000 is found by analyzing all libraries found in /usr/lib64 and its subfolders for how many symbols it would need to be read in order to decide if the library is livepatchable. Workarround SUSE#159 Signed-off-by: Giuliano Belinassi <[email protected]>
libcrypto.so.1.1 required to read around 200 symbols in order for `patch` to detect it as a livepatchable library. Hence we bump the number of symbols to read from 64 to 8000. This value of 8000 is found by analyzing all libraries found in /usr/lib64 and its subfolders for how many symbols it would need to be read in order to decide if the library is livepatchable. Workarround #159 Signed-off-by: Giuliano Belinassi <[email protected]>
Because of:
libpulp/tools/patches.c
Line 441 in fd16e1b
libcrypto.so.1.1 is not being listed as a livepatchable library in SLE-15-SP4. Find another way of finding if a loaded library is livepatchable in the target process.
The text was updated successfully, but these errors were encountered: