|
@@ -56,7 +56,8 @@ static struct {
|
|
|
|
|
|
void show_swap_cache_info(void)
|
|
|
{
|
|
|
- printk("Swap cache: add %lu, delete %lu, find %lu/%lu\n",
|
|
|
+ printk("%lu pages in swap cache\n", total_swapcache_pages);
|
|
|
+ printk("Swap cache stats: add %lu, delete %lu, find %lu/%lu\n",
|
|
|
swap_cache_info.add_total, swap_cache_info.del_total,
|
|
|
swap_cache_info.find_success, swap_cache_info.find_total);
|
|
|
printk("Free swap = %lukB\n", nr_swap_pages << (PAGE_SHIFT - 10));
|