On Mon, Sep 10, 2012 at 6:36 AM, Cong Wang <xiyou.wangcong@xxxxxxxxx> wrote: > On Sun, 09 Sep 2012 at 18:03 GMT, Shentino <shentino@xxxxxxxxx> wrote: >> >> Just curious, but what theoretically would happen if someone were to >> want to set swappiness to 200 or something? >> >> Should it be sorta like vfs_cache_pressure? >> > > > How could it be set to 200? As 0~100 is valid: > > { > .procname = "swappiness", > .data = &vm_swappiness, > .maxlen = sizeof(vm_swappiness), > .mode = 0644, > .proc_handler = proc_dointvec_minmax, > .extra1 = &zero, > .extra2 = &one_hundred, > }, My comment/question was more abstract and focusing on the comparison to vfs_cache_pressure. :P > > -- > 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> -- 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>