480 Commits

Author SHA1 Message Date
Kaiwan N Billimoria
cc16828119 Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2023-11-20 10:24:58 +05:30
Kaiwan N Billimoria
a5f8b3ae9f Initial commit; RCU ver of thrd show all module 2023-11-20 10:24:34 +05:30
Kaiwan N Billimoria
deed1ca576 cleanup 2023-11-20 10:23:31 +05:30
Kaiwan N Billimoria
e8a8c60482 Add a comment showing typical usage pattern for SHOW_DELTA() 2023-11-20 10:21:11 +05:30
Kaiwan N Billimoria
3a655b9de3 remove unnecessary old comments 2023-11-20 10:20:27 +05:30
Kaiwan N Billimoria
a2ebefb6eb Initial commit 2023-11-20 09:41:55 +05:30
Kaiwan N Billimoria
e12642b336 Initial commit 2023-11-20 09:40:49 +05:30
Kaiwan N Billimoria
8e9fa9a942 Initial commit 2023-11-20 09:39:58 +05:30
Kaiwan N Billimoria
2361833538 indent 2023-11-20 09:39:34 +05:30
Kaiwan N Billimoria
475ca92664 initial commit 2023-11-20 07:33:40 +05:30
Kaiwan N Billimoria
863dad163e Simply use task_{un]lock() for protection; we'll use RCU later 2023-11-19 14:01:16 +05:30
Kaiwan N Billimoria
562c166372 Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2023-11-17 10:27:13 +05:30
Kaiwan N Billimoria
62f8607cac Update Makefile; better comments in C source 2023-11-17 10:26:49 +05:30
Kaiwan N Billimoria
a6c9d247b0 Minor cleanup 2023-11-17 10:25:50 +05:30
Kaiwan N Billimoria
90c0773b61 Proper comments 2023-11-16 19:23:47 +05:30
Kaiwan N Billimoria
ae039e1408 Have the tester 'run' scripts take # of runs as param 2023-11-16 14:12:18 +05:30
Kaiwan N Billimoria
fb9b235e04 Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2023-11-16 14:08:22 +05:30
Kaiwan N Billimoria
06d2fa5a93 Initial commit - concurrent reader/writer threads, locking via RCU 2023-11-16 14:07:37 +05:30
Kaiwan N Billimoria
8c13213de8 Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2023-11-16 11:48:31 +05:30
Kaiwan N Billimoria
c3a6ca3243 Better comments 2023-11-16 11:47:53 +05:30
Kaiwan N Billimoria
00da04618b Initial commit - concurrent reader/writer threads, locking with reader-writer (spin)lock 2023-11-16 11:45:35 +05:30
Kaiwan N Billimoria
b448e45e71 Initial commit - concurrent reader/writer threads, no locking 2023-11-16 11:43:43 +05:30
Kaiwan N Billimoria
d20bb747a6 don't use convenient.h; conflicts w/ other file (header dep hell) 2023-11-16 11:23:21 +05:30
Kaiwan N Billimoria
7a8fa793de write 'RCU' to the device :-) 2023-11-15 16:58:01 +05:30
Kaiwan N Billimoria
96a833696e correct path to the header 2023-11-15 16:55:47 +05:30
Kaiwan N Billimoria
cb6b4052d2 Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E 2023-11-13 09:04:48 +05:30
Kaiwan N Billimoria
ee5451e981 Initial commit - list demo using RCU lock-free synchronization 2023-11-13 09:04:04 +05:30
Kaiwan N Billimoria
ffdae9c651 updt FR 2023-11-12 18:10:53 +05:30
Kaiwan N Billimoria
ef6a292db6 percpu demo in new location 2023-11-12 18:09:31 +05:30
Kaiwan N Billimoria
c933bb3465 rm from old location 2023-11-12 18:08:57 +05:30
Kaiwan N Billimoria
c8180cfa1a Initial commit - demo list protecting against concurrency via reader-writer spinlock 2023-11-12 18:05:17 +05:30
Kaiwan N Billimoria
1cb63f417f comment at beginning 2023-11-12 16:56:34 +05:30
Kaiwan N Billimoria
f58cc00f2b quick code cleanups 2023-11-10 11:55:21 +05:30
Kaiwan N Billimoria
807f147791 Initial commit - simple list demo 2023-11-10 11:36:56 +05:30
Kaiwan N Billimoria
5eea34c200 Add the 'brief description' 2023-11-08 15:52:53 +05:30
Kaiwan N Billimoria
bf5e700fe1 Initial commit 2023-11-08 13:24:38 +05:30
Kaiwan N Billimoria
4589308c5f comment 2023-11-07 12:43:24 +05:30
Kaiwan N Billimoria
a2de52f47d Initial commit 2023-11-07 12:36:18 +05:30
Kaiwan N Billimoria
6df2592c4d use soft link to original 2023-11-07 11:17:20 +05:30
Kaiwan N Billimoria
5bf322638f Deliberate intro of buggy refcount code (to test), disabled by default 2023-11-06 18:01:30 +05:30
Kaiwan N Billimoria
b046df1eda use proper Makefile template 2023-11-06 17:51:59 +05:30
Kaiwan N Billimoria
202b22ff62 Merge branch 'main' of https://github.com/PacktPublishing/Linux-Kernel-Programming_2E
the commit.
2023-11-06 10:47:50 +05:30
Kaiwan N Billimoria
6172bd2b5d Set build DEBUG mode on; plus minor fmt 2023-11-06 10:47:05 +05:30
Kaiwan N Billimoria
daa867bc4d FR updt 2023-11-03 13:18:46 +05:30
Kaiwan N Billimoria
9d37d0bf35 minor, fmt 2023-11-02 16:02:08 +05:30
Kaiwan N Billimoria
d2e3a5e14d strlcpy() deprecated, use strscpy() instead 2023-11-02 16:01:49 +05:30
Kaiwan N Billimoria
ef6d0a2b2d update ch12 qs 2023-11-02 14:22:28 +05:30
Kaiwan N Billimoria
11c7652777 quick fix- allow continue if cond fails 2023-11-02 07:30:54 +05:30
Kaiwan N Billimoria
e9a446623e Add -c option; modularize the script 2023-11-02 07:25:50 +05:30
Kaiwan N Billimoria
756c09c0db Initial commit - using a spinlock & mutex in our simple misc driver 2023-11-01 11:58:52 +05:30