Messages in this thread | | | Date | Wed, 4 Apr 2012 23:09:39 -0700 (PDT) | From | David Rientjes <> | Subject | Re: some questions about __get_vm_area_node |
| |
On Thu, 5 Apr 2012, vichy wrote:
> Hi all: > I have a question about __get_vm_area_node. > Q. Why we announce "static struct vmap_area *va;" instead of "struct > vmap_area *va;" > I cannot see is there any benefit to take this variable as static. >
You're right, there's no need for it to be static. However, you're looking at an old tree.
This was fixed with 0006526d78e9 ("mm/vmalloc.c: remove static declaration of va from __get_vm_area_node") in 3.3.
| |