File tree 3 files changed +4
-8
lines changed 3 files changed +4
-8
lines changed Original file line number Diff line number Diff line change 1
- ## $5 Tech Unlocked 2021!
2
- [ Buy and download this product for only $5 on PacktPub.com] ( https://www.packtpub.com/ )
3
- -----
4
- * The $5 campaign runs from __ December 15th 2020__ to __ January 13th 2021.__ *
5
-
6
1
# Learn-Linux-Kernel-Development (LLKD)
7
2
8
3
'Learn Linux Kernel Development', Kaiwan N Billimoria, Packt Publishing.
Original file line number Diff line number Diff line change 2
2
# latency_test.sh
3
3
# Originally sourced from OSADL:
4
4
# https://www.osadl.org/uploads/media/mklatencyplot.bash
5
- # Lightly modified for our purposes..
5
+ # Lightly modified for our purposes.. this script is to be run via it's
6
+ # wrapper script runtest.
6
7
# ----------------------------------------------------------------------
7
8
# This program is part of the source code released for the book
8
9
# "Learn Linux Kernel Development"
Original file line number Diff line number Diff line change @@ -108,8 +108,8 @@ static long set_cpuaffinity(unsigned int cpu)
108
108
cpumask_clear (& mask );
109
109
cpumask_set_cpu (cpu , & mask ); // 1st param is the CPU number, not bitmask
110
110
/* !HACK! sched_setaffinity() is NOT exported, we can't call it
111
- * sched_setaffinity(0, &mask); // 0 => on self
112
- * so we invoke it via func pointer */
111
+ * sched_setaffinity(0, &mask); // 0 => on self
112
+ * so we invoke it via it's function pointer */
113
113
ret = (* ptr_sched_setaffinity )(0 , & mask ); // 0 => on self
114
114
115
115
return ret ;
You can’t perform that action at this time.
0 commit comments