[d-kernel] vm.buffermem and vm.pagecache

Ed V. Bartosh ed at altlinux.ru
Thu Sep 4 14:52:36 MSD 2003


>>>>> "AT" == Alexey Tourbin writes:

 AT>   Господа,
  
 AT>  почему в наших ядрах в /proc нет этих полей, хотя в
 AT>  Documentation/sysctl/vm.txt они описаны?
Устарела, видимо, документация:
Documentation for /proc/sys/vm/*        kernel version 2.4.19
        (c) 1998, 1999,  Rik van Riel <riel at nl.linux.org>

вот все, что нашел в 2.4.21:
static ctl_table vm_table[] = {
        {VM_BDFLUSH, "bdflush", &bdf_prm, 9*sizeof(int), 0644, NULL,
         &proc_dointvec_minmax, &sysctl_intvec, NULL,
         &bdflush_min, &bdflush_max},
        {VM_OVERCOMMIT_MEMORY, "overcommit_memory", &sysctl_overcommit_memory,
         sizeof(sysctl_overcommit_memory), 0644, NULL, &proc_dointvec},
        {VM_PAGERDAEMON, "kswapd",
         &pager_daemon, sizeof(pager_daemon_t), 0644, NULL, &proc_dointvec},
        {VM_PGT_CACHE, "pagetable_cache", 
         &pgt_cache_water, 2*sizeof(int), 0644, NULL, &proc_dointvec},
        {VM_PAGE_CLUSTER, "page-cluster", 
         &page_cluster, sizeof(int), 0644, NULL, &proc_dointvec},
        {VM_MIN_READAHEAD, "min-readahead",
        &vm_min_readahead,sizeof(int), 0644, NULL, &proc_dointvec},
        {VM_MAX_READAHEAD, "max-readahead",
        &vm_max_readahead,sizeof(int), 0644, NULL, &proc_dointvec},
        {VM_MAX_MAP_COUNT, "max_map_count",
         &max_map_count, sizeof(int), 0644, NULL, &proc_dointvec},
        {0}
};

-- 
Best regards,
Ed V. Bartosh



More information about the devel-kernel mailing list