Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit da91061

Browse files
committed
2 parents 65e92bd + b0ea041 commit da91061

File tree

3 files changed

+4
-8
lines changed

3 files changed

+4
-8
lines changed

README.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,3 @@
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-
61
# Learn-Linux-Kernel-Development (LLKD)
72

83
'Learn Linux Kernel Development', Kaiwan N Billimoria, Packt Publishing.

ch11/latency_tests/latency_test.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,8 @@
22
# latency_test.sh
33
# Originally sourced from OSADL:
44
# 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.
67
#----------------------------------------------------------------------
78
# This program is part of the source code released for the book
89
# "Learn Linux Kernel Development"

ch17/2_percpu/percpu_var.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,8 @@ static long set_cpuaffinity(unsigned int cpu)
108108
cpumask_clear(&mask);
109109
cpumask_set_cpu(cpu, &mask); // 1st param is the CPU number, not bitmask
110110
/* !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 */
113113
ret = (*ptr_sched_setaffinity)(0, &mask); // 0 => on self
114114

115115
return ret;

0 commit comments

Comments
 (0)