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

\
 
 \ /
  Last update: 2005-03-22 13:41    [W:0.040 / U:0.548 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site