lkml.org 
[lkml]   [2004]   [Jan]   [9]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
DateFri, 09 Jan 2004 18:41:58 +0900 (JST)
SubjectRe: [PATCH] dynamic allocation of huge continuous pages
FromHirokazu Takahashi <>
Hi, 

Thank you for your advice.

> > +		list_for_each(p, &area->free_list) {
> > +			page = list_entry(p, struct page, list);
> 
> Just FYI, "list_for_each_entry(page, &area->free_list, list)" is
> shorter and neater.
> 
> Cheers,
> Rusty.

Thank you,
Hirokazu Takahashi.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [from the cache]
©2003-2008