[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: page-flags.h
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/