What is the anonymous page

2007-03-30 Thread Bin Chen
Are the program heap pages anonymous pages? Are the mmaped pages are not anonymous pages? Thanks in advance. abai - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.h

What is the active page in Linux kernel, so inactive?

2007-03-30 Thread Bin Chen
I am quite confusing about the concept that Linux usage of the term active and inactive pages. Some book tells me active pages is the 'working set' in system, but what is the 'working set'? There is a page cache system in the system, and when a page is freed when not needed by some way, the page w

kmem_cache_create loop for find the proper gfporder

2007-03-24 Thread Bin Chen
I have some doubts about the loop to find the gfporder of a cache. For the code below, its main purpose is to find a gfporder value that can make the internal fragmentation less that 1/8 of the total slab size. It is done by increase gfporder for low number to high(possibly 0 to MAX_GFP_ORDER). Bu