Commit Graph

462 Commits

Author SHA1 Message Date
Kaiwan N Billimoria
441516bbec setup soft links with chapter names to ch'n' folders
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-12-30 10:42:05 +05:30
Kaiwan N Billimoria
5963e897ac countem2.sh: fix calc of # of kernel-mode stacks
in memory

Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-12-27 16:10:57 +05:30
Kaiwan N Billimoria
40e778d808 Add to Known Errata (reg RCU fig 13.16) 2024-11-28 11:37:19 +05:30
Kaiwan N Billimoria
327369e883 Add to Known Errata (reg RCU) 2024-11-28 11:34:37 +05:30
Kaiwan N Billimoria
70dd63412b fix:writer makes copy for RCU & should free the old object only 2024-11-28 11:27:18 +05:30
Kaiwan N Billimoria
eb41c1aebb Update README.md; errata fix 2024-11-26 11:26:45 +05:30
Kaiwan N Billimoria
ea4b587f71 Makefile: strip: use the correct filename for the .ko (when other files are linked in) 2024-11-26 11:20:45 +05:30
Kaiwan N Billimoria
ca960e5bf9 Avoid gcc warnings by stripping off outer parentheses from the SHOW_DELTA*() macros; Reported-by: eibisidi 2024-11-26 10:50:46 +05:30
Kaiwan N Billimoria
068f0c3ed8 ARM64 requires some tweaks; different header & kernel_neon_begin|end()
Reported-by: eibisidi
2024-11-26 10:27:51 +05:30
Kaiwan N Billimoria
6d800a83b2 the same quick fix; '--' to '-' in the Makefile 2024-11-26 10:19:08 +05:30
Kaiwan N Billimoria
05ea5fec73 quick fix 2024-11-26 10:15:45 +05:30
Kaiwan N Billimoria
1eea58479e Makefile: prefix the include config directive with '-' to fail gracefully if reqd 2024-11-26 10:13:15 +05:30
Kaiwan N Billimoria
b7bb3eabba Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2024-11-01 08:34:58 +05:30
Kaiwan N Billimoria
2662dd18f8 use cmd || true style to ensure execution continues on failure
(due to set -e); reported by eibisidi (github)
2024-11-01 08:30:48 +05:30
Kaiwan N Billimoria
deaedf0efb Declare prototypes for functions that aren't marked static,to prevent compiler warnings; credit @wiktorjl 2024-10-01 10:55:37 +05:30
Kaiwan N Billimoria
2778d9d2a4 add func protos to get rid of warnings 2024-09-28 11:33:10 +05:30
Kaiwan N Billimoria
233ff6e223 colour highlight the failure/warn/success msgs 2024-09-27 17:44:50 +05:30
Kaiwan N Billimoria
861575c062 colour highlight the failure msg 2024-09-27 17:11:45 +05:30
Kaiwan N Billimoria
14ba073888 better Makefile updt- ignore no .config;add 'dt'
target;add help tip
2024-09-27 15:56:12 +05:30
Kaiwan N Billimoria
11af573d52 TODO comment 2024-09-27 15:55:50 +05:30
Kaiwan N Billimoria
c750a2a97b update Known Errata (RCU) stuff 2024-09-15 08:52:38 +05:30
Kaiwan N Billimoria
a6d3f4d07f fix a leak, better comments 2024-09-15 08:52:18 +05:30
Kaiwan N Billimoria
c7036a9caf export var & continue on include fail 2024-09-15 08:50:33 +05:30
Kaiwan N Billimoria
86c1b29763 Merge pull request #3 from MhmRhm/fix-comment-and-line-width
Improve Makefile template for Linux LKMs
2024-07-29 07:13:12 +05:30
Mohammad Rahimi
31bb78b2c9 Improve Makefile template for Linux LKMs
- Enabled defining FNAME_C via command line.
- Removed a redundant word in the comment for DYNAMIC_DEBUG_MODULE.
2024-07-28 06:11:59 +00:00
Kaiwan N Billimoria
06dd8cdf99 Add Errata for pg 197
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-07-27 09:41:53 +05:30
Kaiwan N Billimoria
b40aaef5b1 convenient.h: cleanup as per checkpatch report
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-07-24 13:30:57 +05:30
Kaiwan N Billimoria
e21df88793 SHOW_DELTA() macro works ok only on 64-bit Linux
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-07-24 11:35:50 +05:30
Kaiwan N Billimoria
afccc07a00 README.md: add a couple of 'errata'
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-07-17 09:38:33 +05:30
Kaiwan N Billimoria
8f98867884 Add errata; pg 9
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-05-08 09:52:05 +05:30
Kaiwan N Billimoria
0a96f894b2 Update README.md to reflect the new ch6/countem2.sh script
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-05-02 08:48:00 +05:30
Kaiwan N Billimoria
b36201bdbc initial commit; an addendum to the countem.sh script
Signed-off-by: Kaiwan N Billimoria <kaiwan.billimoria@gmail.com>
2024-05-02 08:43:53 +05:30
Kaiwan N Billimoria
900771e5aa Add online link for Ch 1 PDF 2024-04-05 13:04:53 +05:30
Kaiwan N Billimoria
8f420ea91f Update README.md; make a phrase bold 2024-03-17 08:05:17 +05:30
Kaiwan N Billimoria
88fbc8fb88 Errata, pages 716 to 722 reg Figure 13.14 2024-03-17 08:03:02 +05:30
Kaiwan N Billimoria
ac37b218a5 Address Issue #1 https://github.com/PacktPublishing/Linux-Kernel-Programming_2E/issues/1 ;
cleanup..
2024-03-07 09:39:52 +05:30
Kaiwan N Billimoria
377b7a3290 README: small fixes 2024-02-28 12:26:19 +05:30
Kaiwan N Billimoria
2bf1d7fe4a Add 'Known Errata' section to the README 2024-02-28 12:26:00 +05:30
AniketS-cpu
5c21f2dc09 Update README.md 2024-02-27 18:46:32 +05:30
Kaiwan N Billimoria
8491d7b26e minor.. 2024-02-27 12:45:18 +05:30
Kaiwan N Billimoria
ee7e76f1bc Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2024-02-27 12:43:09 +05:30
Kaiwan N Billimoria
7b8c3b7c2a updt FR 2024-02-27 12:22:06 +05:30
Kaiwan N Billimoria
ebb24f7156 update FR 2024-02-27 11:59:30 +05:30
Kaiwan N Billimoria
0da8b78bc5 Update miscdrv_rdwr_rcu.c with new lat, long coords 2024-02-20 07:47:58 +05:30
Kaiwan N Billimoria
1c8ed6406f Update miscdrv_rdwr_rwlock.c with new lat, long coords 2024-02-20 07:47:11 +05:30
Kaiwan N Billimoria
da9f740c9b Update miscdrv_rdwr_nolocks.c with new lat, long coords 2024-02-20 07:46:02 +05:30
Kaiwan N Billimoria
7c6c279df0 Update percpu_var.c w/ a better comment 2024-02-19 08:35:09 +05:30
Kaiwan N Billimoria
05c6b2853e Updated plot data and graph jpeg 2024-02-14 09:37:27 +05:30
Kaiwan N Billimoria
7a1647f746 better comments 2024-02-14 08:21:34 +05:30
Kaiwan N Billimoria
fa8a844e87 updt FR 2024-02-14 07:58:46 +05:30