lkml.org 
[lkml]   [2012]   [Apr]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.


\
 
 \ /
  Last update: 2012-04-05 08:11    [W:0.882 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site