diff options
-rw-r--r-- | Documentation/feature-removal-schedule.txt | 16 | ||||
-rw-r--r-- | init/Kconfig | 4 | ||||
-rw-r--r-- | mm/page_cgroup.c | 2 |
3 files changed, 3 insertions, 19 deletions
diff --git a/Documentation/feature-removal-schedule.txt b/Documentation/feature-removal-schedule.txt index d59e71df5c5c..f9d240dfac06 100644 --- a/Documentation/feature-removal-schedule.txt +++ b/Documentation/feature-removal-schedule.txt | |||
@@ -518,22 +518,6 @@ Files: net/netfilter/xt_connlimit.c | |||
518 | 518 | ||
519 | ---------------------------- | 519 | ---------------------------- |
520 | 520 | ||
521 | What: noswapaccount kernel command line parameter | ||
522 | When: 2.6.40 | ||
523 | Why: The original implementation of memsw feature enabled by | ||
524 | CONFIG_CGROUP_MEM_RES_CTLR_SWAP could be disabled by the noswapaccount | ||
525 | kernel parameter (introduced in 2.6.29-rc1). Later on, this decision | ||
526 | turned out to be not ideal because we cannot have the feature compiled | ||
527 | in and disabled by default and let only interested to enable it | ||
528 | (e.g. general distribution kernels might need it). Therefore we have | ||
529 | added swapaccount[=0|1] parameter (introduced in 2.6.37) which provides | ||
530 | the both possibilities. If we remove noswapaccount we will have | ||
531 | less command line parameters with the same functionality and we | ||
532 | can also cleanup the parameter handling a bit (). | ||
533 | Who: Michal Hocko <mhocko@suse.cz> | ||
534 | |||
535 | ---------------------------- | ||
536 | |||
537 | What: ipt_addrtype match include file | 521 | What: ipt_addrtype match include file |
538 | When: 2012 | 522 | When: 2012 |
539 | Why: superseded by xt_addrtype | 523 | Why: superseded by xt_addrtype |
diff --git a/init/Kconfig b/init/Kconfig index e20aa3112240..d62778390e55 100644 --- a/init/Kconfig +++ b/init/Kconfig | |||
@@ -673,7 +673,7 @@ config CGROUP_MEM_RES_CTLR_SWAP | |||
673 | be careful about enabling this. When memory resource controller | 673 | be careful about enabling this. When memory resource controller |
674 | is disabled by boot option, this will be automatically disabled and | 674 | is disabled by boot option, this will be automatically disabled and |
675 | there will be no overhead from this. Even when you set this config=y, | 675 | there will be no overhead from this. Even when you set this config=y, |
676 | if boot option "noswapaccount" is set, swap will not be accounted. | 676 | if boot option "swapaccount=0" is set, swap will not be accounted. |
677 | Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page | 677 | Now, memory usage of swap_cgroup is 2 bytes per entry. If swap page |
678 | size is 4096bytes, 512k per 1Gbytes of swap. | 678 | size is 4096bytes, 512k per 1Gbytes of swap. |
679 | config CGROUP_MEM_RES_CTLR_SWAP_ENABLED | 679 | config CGROUP_MEM_RES_CTLR_SWAP_ENABLED |
@@ -688,7 +688,7 @@ config CGROUP_MEM_RES_CTLR_SWAP_ENABLED | |||
688 | parameter should have this option unselected. | 688 | parameter should have this option unselected. |
689 | For those who want to have the feature enabled by default should | 689 | For those who want to have the feature enabled by default should |
690 | select this option (if, for some reason, they need to disable it | 690 | select this option (if, for some reason, they need to disable it |
691 | then noswapaccount does the trick). | 691 | then swapaccount=0 does the trick). |
692 | 692 | ||
693 | config CGROUP_PERF | 693 | config CGROUP_PERF |
694 | bool "Enable perf_event per-cpu per-container group (cgroup) monitoring" | 694 | bool "Enable perf_event per-cpu per-container group (cgroup) monitoring" |
diff --git a/mm/page_cgroup.c b/mm/page_cgroup.c index 53bffc6c293e..9cb1c44ffc37 100644 --- a/mm/page_cgroup.c +++ b/mm/page_cgroup.c | |||
@@ -537,7 +537,7 @@ int swap_cgroup_swapon(int type, unsigned long max_pages) | |||
537 | nomem: | 537 | nomem: |
538 | printk(KERN_INFO "couldn't allocate enough memory for swap_cgroup.\n"); | 538 | printk(KERN_INFO "couldn't allocate enough memory for swap_cgroup.\n"); |
539 | printk(KERN_INFO | 539 | printk(KERN_INFO |
540 | "swap_cgroup can be disabled by noswapaccount boot option\n"); | 540 | "swap_cgroup can be disabled by swapaccount=0 boot option\n"); |
541 | return -ENOMEM; | 541 | return -ENOMEM; |
542 | } | 542 | } |
543 | 543 | ||