Skip to contentSkip to conversation

mm/ routines: to EXPORT or not to EXPORT

DISCUSSION Robert P. J. Day 1 participant 1 message Apr 4, 2010 Memory management

lore
Share & tools
lore
#0 lore raw

sorry, i didn't mean to start such an animated discussion, but from
a newbie perspective (someone who's just recently started to peruse the mm/code), it seems like there are some real inconsistencies.

for instance, in filemap.c, we have:

EXPORT_SYMBOL(add_to_page_cache_locked);

curiously, though, what seems to be the converse routine, remove_from_page_cache(), is *not* exported. that just seems odd but maybe i just have to read further.

rday
--

========================================================================
Robert P. J. Day Waterloo, Ontario, CANADA

Linux Consulting, Training and Kernel Pedantry.

Web page:                                          http://crashcourse.ca
Twitter:                                       http://twitter.com/rpjday

========================================================================

--
To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to [email protected]. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"[email protected]"> [email protected] </a>