Commit 4a58335f authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] vm_area_struct size comment

From: Hugh Dickins <hugh@veritas.com>

Missed comment on the size of vm_area_struct: it is no longer 64 bytes on
ia32.
parent afd81431
...@@ -47,13 +47,6 @@ extern int page_cluster; ...@@ -47,13 +47,6 @@ extern int page_cluster;
* per VM-area/task. A VM area is any part of the process virtual memory * per VM-area/task. A VM area is any part of the process virtual memory
* space that has a special rule for the page-fault handlers (ie a shared * space that has a special rule for the page-fault handlers (ie a shared
* library, the executable area etc). * library, the executable area etc).
*
* This structure is exactly 64 bytes on ia32. Please think very, very hard
* before adding anything to it.
* [Now 4 bytes more on 32bit NUMA machines. Sorry. -AK.
* But if you want to recover the 4 bytes justr remove vm_next. It is redundant
* with vm_rb. Will be a lot of editing work though. vm_rb.color is redundant
* too.]
*/ */
struct vm_area_struct { struct vm_area_struct {
struct mm_struct * vm_mm; /* The address space we belong to. */ struct mm_struct * vm_mm; /* The address space we belong to. */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment