Re: problems with sync_all_inode() in prune_icache() and kupdate()

2000-11-12 Thread Andrea Arcangeli
On Sat, Nov 11, 2000 at 11:01:25AM -0800, Ying Chen/Almaden/IBM wrote: > try to sync_inodes periodically anyway, but I don't know if this has other > implications or not. I don't see a problem with this myself. In fact, I Not running sync_all_inodes() from prune_icache() has the only implication

problems with sync_all_inode() in prune_icache() and kupdate()

2000-11-11 Thread Ying Chen/Almaden/IBM
Hi, I'm wondering if someone can tell me why sync_all_inodes() is called in prune_icache(). sync_all_inodes() can cause problems in some situations when memory is short and shrink_icache_memory() is called. For instance, when the system is really short of memory, do_try_to_free_pages() is invoked