Re: some questions about __get_vm_area_node

From: David Rientjes
Date: Thu Apr 05 2012 - 03:20:08 EST


On Thu, 5 Apr 2012, vichy wrote:

> Yes, I saw your check in message on Mon Dec 19 17:12:04 2011 -0800.
> BTW, why we declare it as static previously?

Most likely copy-and-paste error by the original author.

> for saving stack usage?

For that you would need some kind of synchronization to protect it from
concurrent access which doesn't exist in this context, so it was simply a
mistake that got past review.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/