We currently use normal data structures which enforce the necessity to use a lock to prevent asynchronous issue which adds complexity to the program.
We can shift to using percpu arrays and then calculate the total using a for loop in the final kernel program
We currently use normal data structures which enforce the necessity to use a lock to prevent asynchronous issue which adds complexity to the program.
We can shift to using percpu arrays and then calculate the total using a for loop in the final kernel program