On Mon, 29 Oct 2018 00:08:12 +0800, Carter Cheng said: > Where do I find the code in the kernel related to the MMU and resolving > memory addresses? I am trying to understand what the implications are if > code like this has bugs and the impact on the various functions that return > chunks of memory for use via pointers (either as pages or kmalloc chunks) > etc. The results are easy enough to predict even without looking at the code. If your memory allocations are buggy, you get random memory overlays and corruption, attempts to access non-mapped physical or virtual memory addresses, and so on. Basically, all the same sorts of issues beginning C programmers encounter before they understand pointers.
Attachment:
pgpC4dY86z2Bn.pgp
Description: PGP signature
_______________________________________________ Kernelnewbies mailing list Kernelnewbies@xxxxxxxxxxxxxxxxx https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies