8000
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f475ea6 commit 4460763Copy full SHA for 4460763
ch13/3_lockdep/deadlock_eg_AB-BA/deadlock_eg_AB-BA.c
@@ -194,6 +194,11 @@ static int __init deadlock_eg_AB_BA_init(void)
194
* to retrieve the function pointer, subsequently calling the function
195
* via it's pointer (with 'C' what you do is only limited by your
196
* imagination :).
197
+ *
198
+ * EDIT + *NOTE*
199
+ * The kallsyms_lookup_name() API has been unexported from kernel ver 5.7
200
+ * Commit: https://github.com/torvalds/linux/commit/0bd476e6c67190b5eb7b6e105c8db8ff61103281
201
+ * Rationale: https://lwn.net/Articles/813350/
202
*/
203
ptr_sched_setaffinity = (void *)kallsyms_lookup_name("sched_setaffinity");
204
if (!ptr_sched_setaffinity) {
0 commit comments