* [patch] dqcache receives uneven shrink_caches priority
@ 2002-01-28 16:10 Josh MacDonald
0 siblings, 0 replies; only message in thread
From: Josh MacDonald @ 2002-01-28 16:10 UTC (permalink / raw)
To: linux-kernel; +Cc: reiserfs-dev
It looks like the vmscan shrink_caches() function applies an uneven
priority for the call to shrink_dqcache_memory(). Instead of passing
the 'priority' argument as with the dcache and icache, dqcache always
receives the lowest (default) priority. This seems unjustified...
-josh
diff -cr mm.2.5.2/vmscan.c mm/vmscan.c
*** mm.2.5.2/vmscan.c Mon Jan 28 18:56:38 2002
--- mm/vmscan.c Mon Jan 28 18:56:50 2002
***************
*** 578,584 ****
shrink_dcache_memory(priority, gfp_mask);
shrink_icache_memory(priority, gfp_mask);
#ifdef CONFIG_QUOTA
! shrink_dqcache_memory(DEF_PRIORITY, gfp_mask);
#endif
return nr_pages;
--- 578,584 ----
shrink_dcache_memory(priority, gfp_mask);
shrink_icache_memory(priority, gfp_mask);
#ifdef CONFIG_QUOTA
! shrink_dqcache_memory(priority, gfp_mask);
#endif
return nr_pages;
--
PRCS version control system http://sourceforge.net/projects/prcs
Xdelta storage & transport http://sourceforge.net/projects/xdelta
Need a concurrent skip list? http://sourceforge.net/projects/skiplist
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2002-01-28 16:10 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-01-28 16:10 [patch] dqcache receives uneven shrink_caches priority Josh MacDonald
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox