On 01/02/2014 04:44 AM, Li Wang wrote: > Do we really need clean dcache/icache at the current stage? > That will introduce more code work, so far, iput() will put > those unreferenced inodes into superblock lru list. To free > the inodes inside a specific directory, it seems we do not > have a handy API to use, and need > modify iput() to recognize our situation, and collect those > inodes into our list rather than superblock lru list. Maybe > we stay at current stage now, since it is simple and could > gain the major benefits, leave the dcache/icache cleaning > to do in the future? <sigh> top posting.... I read your response as "that's the right thing to do, but it's too much work". Fair enough. But if we're going to take the lazy hack approach here, maybe we should do this through some other interface than a syscall where we're stuck with the behavior. -- To unsubscribe, send a message with 'unsubscribe linux-mm' in the body to majordomo@xxxxxxxxx. For more info on Linux MM, see: http://www.linux-mm.org/ . Don't email: <a href=mailto:"dont@xxxxxxxxx"> email@xxxxxxxxx </a>