# 实验 8：Malloc Lab

## 实验附件

* README
  * <http://csapp.cs.cmu.edu/3e/README-malloclab>
* Writeup
  * <http://csapp.cs.cmu.edu/3e/malloclab.pdf>
* 版本历史
  * <http://csapp.cs.cmu.edu/3e/malloclab-release.html>
* 自学材料
  * <http://csapp.cs.cmu.edu/3e/malloclab-handout.tar>

## 实验简介

学生实现他们自己版本的 malloc、free 和 realloc。该实验让学生对数据布局和组织有一个清晰的理解，并要求他们评估空间和时间效率之间的不同权衡。我们最喜欢的实验之一。学生完成它后，将真正理解指针！


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://hansimov.gitbook.io/csapp/labs/malloc-lab.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
