In this assignment 1, I keep low efficiency as usual until I asked help for Ben. Thanks, Ben, first.
He pointed out freeing lock in lock_acquire() section, kfree(lock->lk_name) and kfree(lock), which were ignored by myself all the time. In the responding email to him, I said that the only reason I do that is having not understood codes completely. Yes, I have no courage to advise codes written by the professor, I’m afraid of the authority.
Understanding is quite significant. Computer Science and coding are good ways to train my understanding capability. Maybe I have to maintain pursuit for PhD in CS.
Work hard. Think hard. Understand hard. Last long