[PATCH 3/3] swap: Increase the maximum number of swap files to 8192.

2014-03-21 Thread Yu Zhao
From: Suleiman Souhlal Allow up to 8192 swap files on x86_64. Prior to this patch the limit was 30 swap files, which is not enough if we want to use per memory cgroup swap files on a machine that has thousands of cgroups. While this change also reduces the number of bits available for swap

[PATCH 3/3] swap: Increase the maximum number of swap files to 8192.

2014-03-21 Thread Yu Zhao
From: Suleiman Souhlal sulei...@google.com Allow up to 8192 swap files on x86_64. Prior to this patch the limit was 30 swap files, which is not enough if we want to use per memory cgroup swap files on a machine that has thousands of cgroups. While this change also reduces the number of bits