Thread (4 messages) 4 messages, 4 authors, 2002-08-29

Re: page-flags.h

From: Andrew Morton <hidden>
Date: 2002-05-14 20:25:43

Erik van Konijnenburg wrote:
...
For pagemap.h, just three functions are responsible for
an 82Kb callgraph: page_cache_alloc, add_to_page_cache,
wait_on_page_locked.
inlines in headers are just a pita.  I know it gets people
all excited but I'd say: make 'em macros.

___add_to_page_cache() can be just uninlined.  I intend
to gang-add pages into the cache and LRU anyway, so that
function should become for "occasional use only" anyway.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org.  For more info on Linux MM,
see: http://www.linux-mm.org/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help