linux memory management

c language memory interface #include <stdlib.h> void *malloc(size_t size); Array and calloc Use calloc to request data structures with fixed memory size void *r; r = calloc(2,sizeof(struct tmap)); if(!r) { perror("error of calloc"); exit(EXIT_FAILURE); } 2 means to apply for two tmap spaces. The ...

Added by Brand Hill on Sun, 19 Dec 2021 02:52:56 +0200

What is memory out of order access?

What is memory out of order access? It's more and more interesting to keep digging into the underlying principles of the computer. Today, let's talk about the topic of memory out of order execution. First of all, ask a question: will our written programs be executed in the established order? There seems to be no doubt about it. However, u ...

Added by yeehawjared on Sat, 20 Nov 2021 16:11:08 +0200