The invention discloses a
memory management method and device, a computer
system and related equipment, and the
memory management method comprises the steps: obtaining a first memory distribution request of a thread, the first memory distribution request being used for requesting to distribute a corresponding first
memory block; when a first memory allocation request of a thread is obtained, obtaining information of a CPU running the thread; according to the information of the CPU of the running thread, obtaining a Per-CPU
page frame cache of the CPU of the running thread; when the corresponding first
memory block exists in the Per-CPU
page frame cache, the corresponding first
memory block is acquired from the Per-CPU
page frame cache and allocated to the thread; when the corresponding first memory block does not exist in the Per-CPU page frame cache, performing first filling
processing on the Per-CPU page frame cache; and after first filling
processing is carried out on the Per-CPU page frame cache, obtaining a corresponding first memory block from the Per-CPU page frame cache and allocating the first memory block to the thread. According to the technical scheme, affinity of thread data can be achieved, and locality of memory access of the processor is kept.