Messages in this thread | | | Date | Mon, 23 Mar 1998 21:20:06 GMT | From | "Stephen C. Tweedie" <> | Subject | Re: __free_page() and free_pages() - Differences? |
| |
Hi,
On Sun, 22 Mar 1998 18:57:28 +0530 (GMT+0530), Chirayu Patel <chirayu@wipro.tcpn.com> said:
> Hi , > I am having trouble understanding the difference between > the __free_page function and free_pages function in page_alloc.c
They are identical functions with different calling conventions. When we are freeing a page, we often have a page struct already in hand, so __free_page is an alternative way of freeing a page which avoids the unnecessary page map lookup.
--Stephen
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu
| |