Could you try to change in linux/mm/filemap.c:shrink_mmap() the
new statement line 250 and following?
>From
/* Refuse to swap out all buffer pages */
if ((buffermem >> PAGE_SHIFT) * 100 < (buffer_mem.min_percent * num_physpages))
goto next;
To
/* Refuse to swap out all buffer pages */
if (bh && (buffermem >> PAGE_SHIFT) * 100 < (buffer_mem.min_percent * num_physpages))
goto next;
... then we catch the inode cache even if the buffer_mem.min_percent is
reached.
Werner
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu